linux-stable/tools/testing/nvdimm/test
Dan Williams e8cf229ebe tools/testing/nvdimm: Fix security_init() symbol collision
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: 9a61d0838c ("drivers/nvdimm: Add nvdimm pmu structure")
Cc: Kajol Jain <kjain@linux.ibm.com>
Reviewed-by: Kajol Jain <kjain@linux.ibm.com>
Reviewed-by: Vishal Verma <vishal.l.verma@intel.com>
Link: https://lore.kernel.org/r/164904238610.1330275.1889212115373993727.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2022-04-08 12:59:25 -07:00
..
iomap.c memremap: remove support for external pgmap refcounts 2021-12-04 12:46:09 -08:00
Kbuild testing/nvdimm: Add test module for non-nfit platforms 2021-01-28 00:22:48 -08:00
ndtest.c nvdimm/region: Delete nd_blk_region infrastructure 2022-03-11 15:53:13 -08:00
ndtest.h ndtest: Add papr health related flags 2021-01-28 00:22:49 -08:00
nfit.c tools/testing/nvdimm: Fix security_init() symbol collision 2022-04-08 12:59:25 -07:00
nfit_test.h tools/testing/nvdimm: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00