Skip to contentSkip to conversation

mtd: maps: correct CONFIG_MTD_COMPLEX_MAPPINGS macro name in comment

PATCH Applied Ethan Nelson-Moore 2 participants 2 messages Jun 13 – Jun 29 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtd: maps: correct CONFIG_MTD_COMPLEX_MAPPINGS macro name in comment

A comment in drivers/mtd/maps/map_funcs.c incorrectly refers to CONFIG_COMPLEX_MAPPINGS instead of CONFIG_MTD_COMPLEX_MAPPINGS. Correct it.

Discovered while searching for CONFIG_* symbols referenced in code but not defined in any Kconfig file.

---
 drivers/mtd/maps/map_funcs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/maps/map_funcs.c +1 -1
index 1a4add9e119a..b0054933cae0 100644
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
- * Out-of-line map I/O functions for simple maps when CONFIG_COMPLEX_MAPPINGS
+ * Out-of-line map I/O functions for simple maps when CONFIG_MTD_COMPLEX_MAPPINGS
  * is enabled.
  */
 
Signature · 6 lines
2.43.0


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
maintainer Applied
#1 lore raw
Quoted 8 lines · Ethan Nelson-Moore

A comment in drivers/mtd/maps/map_funcs.c incorrectly refers to CONFIG_COMPLEX_MAPPINGS instead of CONFIG_MTD_COMPLEX_MAPPINGS. Correct it.

Discovered while searching for CONFIG_* symbols referenced in code but not defined in any Kconfig file.

[...]

Applied to mtd/next, thanks!

[1/1] mtd: maps: correct CONFIG_MTD_COMPLEX_MAPPINGS macro name in comment

      commit: d276783e490d73536135f90f96c5875f263481ab

Patche(s) should be available on mtd/linux.git and will be part of the next PR (provided that no robot complains by then).

Kind regards,
Miquèl

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/