All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 36] drivers/bus/pci/linux/pci_vfio.c does not compile when compilation strictly fails on warnings
@ 2018-05-03 10:36 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2018-05-03 10:36 UTC (permalink / raw)
  To: dev

https://dpdk.org/tracker/show_bug.cgi?id=36

            Bug ID: 36
           Summary: drivers/bus/pci/linux/pci_vfio.c does not compile when
                    compilation strictly fails on warnings
           Product: DPDK
           Version: 18.05
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: minor
          Priority: Normal
         Component: ethdev
          Assignee: dev@dpdk.org
          Reporter: dpdk@stormmq.com
  Target Milestone: ---

This file produces a warning: `dpdk/drivers/bus/pci/linux/pci_vfio.c:38:0:
warning: "PAGE_SIZE" redefined`.

This is irritatingly when one is compiling with warnings as errors in order to
catch more serious bugs (eg implicit function definitions). One potential fix
might be to do:-

```
#undef PAGE_SIZE
#define PAGE_SIZE   (sysconf(_SC_PAGESIZE))
```

But as I'm not clear on the implications, I can't comment further.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-03 10:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-03 10:36 [Bug 36] drivers/bus/pci/linux/pci_vfio.c does not compile when compilation strictly fails on warnings bugzilla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.