[Bug 1133] missing #include in drivers/gpu/cuda/gdrcopy.c

bugzilla at dpdk.org bugzilla at dpdk.org
Tue Nov 29 19:56:39 CET 2022


https://bugs.dpdk.org/show_bug.cgi?id=1133

            Bug ID: 1133
           Summary: missing #include in drivers/gpu/cuda/gdrcopy.c
           Product: DPDK
           Version: 22.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: other
          Assignee: dev at dpdk.org
          Reporter: romein at astron.nl
  Target Milestone: ---

drivers/gpu/cuda/gdrcopy.c uses getenv() without #include <stdlib.h>. This
leads to compiler warnings while building DPDK, and eventually crashes the
application. The problem is trivially solved by adding #include <stdlib.h>

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the dev mailing list