Skip to contentSkip to conversation

RAS/AMD/ATL: Drop malformed default N from Kconfig

PATCH Applied Andy Shevchenko 2 participants 2 messages May 13 – May 14

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 RAS/AMD/ATL: Drop malformed default N from Kconfig

The capital letters are for symbols and N in 'default N' will be evaluated as another, nonexistent, Kconfig symbol, and not as the 'no' it should be. The most important is that the 'n' *is* default 'default' already. Hence just drop the malformed line.

---
v2: rephrased the commit message to mention 'N' vs. 'n' (Boris)

 drivers/ras/amd/atl/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/ras/amd/atl/Kconfig +0 -1
index 6e03942cd7da..44c2fd7febc5 100644
@@ -12,7 +12,6 @@ config AMD_ATL
 	depends on AMD_NB && X86_64 && RAS
 	depends on AMD_NODE
 	depends on MEMORY_FAILURE
-	default N
 	help
 	  This library includes support for implementation-specific
 	  address translation procedures needed for various error
Signature · 1 line
2.50.1
maintainer Applied
#1 lore raw
Quoted 17 lines · Andy Shevchenko

The capital letters are for symbols and N in 'default N' will be evaluated as another, nonexistent, Kconfig symbol, and not as the 'no' it should be. The most important is that the 'n' *is* default 'default' already. Hence just drop the malformed line.

---
v2: rephrased the commit message to mention 'N' vs. 'n' (Boris)

 drivers/ras/amd/atl/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/ras/amd/atl/Kconfig +0 -0
index 6e03942cd7da..44c2fd7febc5 100644

drivers/ras/amd/atl/Kconfig config AMD_ATL · line 17

Quoted 7 lines
drivers/ras/amd/atl/Kconfig +0 -1
@@ -12,7 +12,6 @@ config AMD_ATL
 	depends on AMD_NB && X86_64 && RAS
 	depends on AMD_NODE
 	depends on MEMORY_FAILURE
-	default N
 	help
 	  This library includes support for implementation-specific
 	  address translation procedures needed for various error

Applied, thanks.

Signature · 4 lines
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette