Skip to contentSkip to conversation

libnvdimm: Fix ACPI_NFIT in BLK_DEV_PMEM help

PATCH In review Peter Robinson 3 participants 4 messages Feb 12, 2024 libnvdimm: non-volatile memory device

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libnvdimm: Fix ACPI_NFIT in BLK_DEV_PMEM help

The ACPI_NFIT config option is described incorrectly as the inverse NFIT_ACPI, which doesn't exist, so update the help to the actual config option.

Fixes 18da2c9ee41a0 ("libnvdimm, pmem: move pmem to drivers/nvdimm/")
---
 drivers/nvdimm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nvdimm/Kconfig +1 -1
index 77b06d54cc62e..fde3e17c836c8 100644
@@ -24,7 +24,7 @@ config BLK_DEV_PMEM
 	select ND_PFN if NVDIMM_PFN
 	help
 	  Memory ranges for PMEM are described by either an NFIT
-	  (NVDIMM Firmware Interface Table, see CONFIG_NFIT_ACPI), a
+	  (NVDIMM Firmware Interface Table, see CONFIG_ACPI_NFIT), a
 	  non-standard OEM-specific E820 memory type (type-12, see
 	  CONFIG_X86_PMEM_LEGACY), or it is manually specified by the
 	  'memmap=nn[KMG]!ss[KMG]' kernel command line (see
Signature · 1 line
2.43.0
maintainer
#1 lore raw
Quoted 5 lines · Peter Robinson

The ACPI_NFIT config option is described incorrectly as the inverse NFIT_ACPI, which doesn't exist, so update the help to the actual config option.

Fixes 18da2c9ee41a0 ("libnvdimm, pmem: move pmem to drivers/nvdimm/")

Given this is only text correction and not a code bug, there's no need to backport the change with a Fixes tag. Otherwise looks good.

Quoted 18 lines
---
 drivers/nvdimm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nvdimm/Kconfig +1 -1
index 77b06d54cc62e..fde3e17c836c8 100644
@@ -24,7 +24,7 @@ config BLK_DEV_PMEM
 	select ND_PFN if NVDIMM_PFN
 	help
 	  Memory ranges for PMEM are described by either an NFIT
-	  (NVDIMM Firmware Interface Table, see CONFIG_NFIT_ACPI), a
+	  (NVDIMM Firmware Interface Table, see CONFIG_ACPI_NFIT), a
 	  non-standard OEM-specific E820 memory type (type-12, see
 	  CONFIG_X86_PMEM_LEGACY), or it is manually specified by the
 	  'memmap=nn[KMG]!ss[KMG]' kernel command line (see
#2 lore raw
In reply to Peter Robinson
Quoted 5 lines · Peter Robinson

The ACPI_NFIT config option is described incorrectly as the inverse NFIT_ACPI, which doesn't exist, so update the help to the actual config option.

Fixes 18da2c9ee41a0 ("libnvdimm, pmem: move pmem to drivers/nvdimm/")

I don't think this warrants a fixes tag as this commit has been around since 2015 and has not bothered anyone. But the change is valid for the next merge window.

Quoted 21 lines
---
 drivers/nvdimm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nvdimm/Kconfig +1 -1
index 77b06d54cc62e..fde3e17c836c8 100644
@@ -24,7 +24,7 @@ config BLK_DEV_PMEM
 	select ND_PFN if NVDIMM_PFN
 	help
 	  Memory ranges for PMEM are described by either an NFIT
-	  (NVDIMM Firmware Interface Table, see CONFIG_NFIT_ACPI), a
+	  (NVDIMM Firmware Interface Table, see CONFIG_ACPI_NFIT), a
 	  non-standard OEM-specific E820 memory type (type-12, see
 	  CONFIG_X86_PMEM_LEGACY), or it is manually specified by the
 	  'memmap=nn[KMG]!ss[KMG]' kernel command line (see
Signature · 1 line
2.43.0
#3 lore raw
Quoted 11 lines · Ira Weiny
Quoted 5 lines · Peter Robinson

The ACPI_NFIT config option is described incorrectly as the inverse NFIT_ACPI, which doesn't exist, so update the help to the actual config option.

Fixes 18da2c9ee41a0 ("libnvdimm, pmem: move pmem to drivers/nvdimm/")

I don't think this warrants a fixes tag as this commit has been around since 2015 and has not bothered anyone. But the change is valid for the next merge window.

Well I added it because it does fix a legitimate problem, even if it's only documentation, I don't mind if you strip it, it's always hard to tell what maintainers want, because some explicitly want it added and some don't.

Quoted 23 lines
Quoted 21 lines
---
 drivers/nvdimm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nvdimm/Kconfig +1 -2
index 77b06d54cc62e..fde3e17c836c8 100644
@@ -24,7 +24,7 @@ config BLK_DEV_PMEM
      select ND_PFN if NVDIMM_PFN
      help
        Memory ranges for PMEM are described by either an NFIT
-       (NVDIMM Firmware Interface Table, see CONFIG_NFIT_ACPI), a
+       (NVDIMM Firmware Interface Table, see CONFIG_ACPI_NFIT), a
        non-standard OEM-specific E820 memory type (type-12, see
        CONFIG_X86_PMEM_LEGACY), or it is manually specified by the
        'memmap=nn[KMG]!ss[KMG]' kernel command line (see
--

2.43.0