mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 10:04:12 +08:00
e8cf229ebe
Starting with the new perf-event support in the nvdimm core, the
nfit_test mock module stops compiling. Rename its security_init() to
nfit_security_init().
tools/testing/nvdimm/test/nfit.c:1845:13: error: conflicting types for ‘security_init’; have ‘void(struct nfit_test *)’
1845 | static void security_init(struct nfit_test *t)
| ^~~~~~~~~~~~~
In file included from ./include/linux/perf_event.h:61,
from ./include/linux/nd.h:11,
from ./drivers/nvdimm/nd-core.h:11,
from tools/testing/nvdimm/test/nfit.c:19:
Fixes:
|
||
---|---|---|
.. | ||
test | ||
acpi_nfit_test.c | ||
config_check.c | ||
dax_pmem_test.c | ||
dax-dev.c | ||
device_dax_test.c | ||
dimm_devs.c | ||
Kbuild | ||
libnvdimm_test.c | ||
Makefile | ||
pmem_test.c | ||
pmem-dax.c | ||
watermark.h |