// SPDX-License-Identifier: GPL-2.0 #include <linux/bug.h> void check(void) { /* * These kconfig symbols must be set to "m" for nfit_test to * load and operate. */ BUILD_BUG_ON(!IS_MODULE([31mCONFIG_LIBNVDIMM[0m)); BUILD_BUG_ON(!IS_MODULE([31mCONFIG_BLK_DEV_PMEM[0m)); BUILD_BUG_ON(!IS_MODULE([31mCONFIG_ND_BTT[0m)); BUILD_BUG_ON(!IS_MODULE([31mCONFIG_ND_PFN[0m)); BUILD_BUG_ON(!IS_MODULE([31mCONFIG_ND_BLK[0m)); BUILD_BUG_ON(!IS_MODULE([31mCONFIG_ACPI_NFIT[0m)); BUILD_BUG_ON(!IS_MODULE([31mCONFIG_DEV_DAX[0m)); BUILD_BUG_ON(!IS_MODULE([31mCONFIG_DEV_DAX_PMEM[0m)); } |