Linux: -Wtypedef-redefinition in tools/testing/nvdimm/test/iomap.c

Created on 18 Sep 2019  路  2Comments  路  Source: ClangBuiltLinux/linux

In file included from ../drivers/nvdimm/../../tools/testing/nvdimm/test/iomap.c:15:
../drivers/nvdimm/../../tools/testing/nvdimm/test/nfit_test.h:206:15: warning: redefinition of typedef 'acpi_handle' is a C11 feature [-Wtypedef-redefinition]
typedef void *acpi_handle;
              ^
../include/acpi/actypes.h:424:15: note: previous definition is here
typedef void *acpi_handle;      /* Actually a ptr to a NS Node */
              ^
1 warning generated.

Patch sent: https://lore.kernel.org/lkml/[email protected]/

-Wtypedef-redefinition [ARCH] x86 [BUG] linux [FIXED][LINUX] 5.4

Most helpful comment

All 2 comments

Was this page helpful?
0 / 5 - 0 ratings