lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <165025849452.2974989.6131145460098517848.stgit@lep8c.aus.stglabs.ibm.com>
Date:   Mon, 18 Apr 2022 00:08:31 -0500
From:   Shivaprasad G Bhat <sbhat@...ux.ibm.com>
To:     nvdimm@...ts.linux.dev, linuxppc-dev@...ts.ozlabs.org,
        dan.j.williams@...el.com
Cc:     aneesh.kumar@...ux.ibm.com, sbhat@...ux.ibm.com,
        vaibhav@...ux.ibm.com, ira.weiny@...el.com, mpe@...erman.id.au,
        linux-kernel@...r.kernel.org
Subject: [RFC PATCH] ndtest: Make ndtest a module on its own

Today ndtest module is compiled as nfit_test.ko depending on
if the CONFIG_ACPI_NFIT defined or not.

It is more advantageous to make ndtest a module on its own
so that the unit tests can be run serially on the same host
without a need for recompilation of sources.

The patch modifies the Kbuild file to take care of that.

Signed-off-by: Shivaprasad G Bhat <sbhat@...ux.ibm.com>
Signed-off-by: Vaibhav Jain <vaibhav@...ux.ibm.com>
---
 tools/testing/nvdimm/test/Kbuild |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/testing/nvdimm/test/Kbuild b/tools/testing/nvdimm/test/Kbuild
index 197bcb2b7f35..4d4835f73b46 100644
--- a/tools/testing/nvdimm/test/Kbuild
+++ b/tools/testing/nvdimm/test/Kbuild
@@ -2,12 +2,12 @@
 ccflags-y := -I$(srctree)/drivers/nvdimm/
 ccflags-y += -I$(srctree)/drivers/acpi/nfit/
 
-obj-m += nfit_test.o
+obj-m += ndtest.o
 obj-m += nfit_test_iomap.o
 
 ifeq  ($(CONFIG_ACPI_NFIT),m)
+	obj-m += nfit_test.o
 	nfit_test-y := nfit.o
-else
-	nfit_test-y := ndtest.o
 endif
+
 nfit_test_iomap-y := iomap.o


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ