2020-04-16 01:11:33

by Michal Suchánek

[permalink] [raw]
Subject: [PATCH] doc: nvdimm: remove reference to non-existent CONFIG_NFIT_TEST

The test driver is in tools/testing/nvdimm and cannot be selected by a
config option.

Signed-off-by: Michal Suchanek <[email protected]>
---
Documentation/driver-api/nvdimm/nvdimm.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/driver-api/nvdimm/nvdimm.rst b/Documentation/driver-api/nvdimm/nvdimm.rst
index 08f855cbb4e6..79c0fd39f2af 100644
--- a/Documentation/driver-api/nvdimm/nvdimm.rst
+++ b/Documentation/driver-api/nvdimm/nvdimm.rst
@@ -278,8 +278,8 @@ by a region device with a dynamically assigned id (REGION0 - REGION5).
be contiguous in DPA-space.

This bus is provided by the kernel under the device
- /sys/devices/platform/nfit_test.0 when CONFIG_NFIT_TEST is enabled and
- the nfit_test.ko module is loaded. This not only test LIBNVDIMM but the
+ /sys/devices/platform/nfit_test.0 when the nfit_test.ko module from
+ tools/testing/nvdimm is loaded. This not only test LIBNVDIMM but the
acpi_nfit.ko driver as well.


--
2.26.0


2020-04-28 18:50:10

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] doc: nvdimm: remove reference to non-existent CONFIG_NFIT_TEST

On Wed, 15 Apr 2020 23:16:50 +0200
Michal Suchanek <[email protected]> wrote:

> The test driver is in tools/testing/nvdimm and cannot be selected by a
> config option.
>
> Signed-off-by: Michal Suchanek <[email protected]>
> ---
> Documentation/driver-api/nvdimm/nvdimm.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/driver-api/nvdimm/nvdimm.rst b/Documentation/driver-api/nvdimm/nvdimm.rst
> index 08f855cbb4e6..79c0fd39f2af 100644
> --- a/Documentation/driver-api/nvdimm/nvdimm.rst
> +++ b/Documentation/driver-api/nvdimm/nvdimm.rst
> @@ -278,8 +278,8 @@ by a region device with a dynamically assigned id (REGION0 - REGION5).
> be contiguous in DPA-space.
>
> This bus is provided by the kernel under the device
> - /sys/devices/platform/nfit_test.0 when CONFIG_NFIT_TEST is enabled and
> - the nfit_test.ko module is loaded. This not only test LIBNVDIMM but the
> + /sys/devices/platform/nfit_test.0 when the nfit_test.ko module from
> + tools/testing/nvdimm is loaded. This not only test LIBNVDIMM but the
> acpi_nfit.ko driver as well.

Applied, thanks.

jon