DPDK patches and discussions
 help / color / mirror / Atom feed
* [Bug 1133] missing #include in drivers/gpu/cuda/gdrcopy.c
@ 2022-11-29 18:56 bugzilla
  2023-10-06 10:18 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2022-11-29 18:56 UTC (permalink / raw)
  To: dev

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@dpdk.org
          Reporter: romein@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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 1133] missing #include in drivers/gpu/cuda/gdrcopy.c
  2022-11-29 18:56 [Bug 1133] missing #include in drivers/gpu/cuda/gdrcopy.c bugzilla
@ 2023-10-06 10:18 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2023-10-06 10:18 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 670 bytes --]

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

David Marchand (david.marchand@redhat.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
                 CC|                            |david.marchand@redhat.com
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from David Marchand (david.marchand@redhat.com) ---
Thanks for the report.
Fixed with: cda3d17609c2 ("gpu/cuda: fix build with external GDRCopy")

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

[-- Attachment #2: Type: text/html, Size: 2817 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-06 10:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-29 18:56 [Bug 1133] missing #include in drivers/gpu/cuda/gdrcopy.c bugzilla
2023-10-06 10:18 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).