missing #include in drivers/gpu/cuda/gdrcopy.c
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: [email protected]
Reporter: [email protected]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>
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
https://bugs.dpdk.org/show_bug.cgi?id=1133
David Marchand ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
CC| |[email protected]
Status|UNCONFIRMED |RESOLVED--- Comment #1 from David Marchand ([email protected]) --- Thanks for the report.
Fixed with: cda3d17609c2 ("gpu/cuda: fix build with external GDRCopy")
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.