[2/2] pci/windows: fix build with MinGW-w64 8.0.0
Checks
Commit Message
Fix redefinition of GUID, missing from previous versions.
Fixes: b762221ac24f ("bus/pci: support Windows with bifurcated drivers")
Cc: stable@dpdk.org
Cc: Tal Shnaiderman <talshn@mellanox.com>
Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
---
drivers/bus/pci/windows/pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
01/12/2020 17:39, Dmitry Kozlyuk:
> Fix redefinition of GUID, missing from previous versions.
>
> Fixes: b762221ac24f ("bus/pci: support Windows with bifurcated drivers")
> Cc: stable@dpdk.org
> Cc: Tal Shnaiderman <talshn@mellanox.com>
>
> Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
For both patches:
Tested-by: Thomas Monjalon <thomas@monjalon.net>
Thanks
07/12/2020 14:56, Thomas Monjalon:
> 01/12/2020 17:39, Dmitry Kozlyuk:
> > Fix redefinition of GUID, missing from previous versions.
> >
> > Fixes: b762221ac24f ("bus/pci: support Windows with bifurcated drivers")
> > Cc: stable@dpdk.org
> > Cc: Tal Shnaiderman <talshn@mellanox.com>
> >
> > Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
>
> For both patches:
> Tested-by: Thomas Monjalon <thomas@monjalon.net>
Series applied, thanks.
@@ -11,7 +11,7 @@
#include <devpkey.h>
-#ifdef RTE_TOOLCHAIN_GCC
+#if defined RTE_TOOLCHAIN_GCC && (__MINGW64_VERSION_MAJOR < 8)
#include <devpropdef.h>
DEFINE_DEVPROPKEY(DEVPKEY_Device_Numa_Node, 0x540b947e, 0x8b40, 0x45bc,
0xa8, 0xa2, 0x6a, 0x0b, 0x89, 0x4c, 0xbd, 0xa2, 3);