[PATCH v3] Kconfig: fix typos in core makefiles/code and purge remaining ghosts (v3)

Subsystems: documentation, parallel lcd/keypad panel driver, the rest

COLD41d

2 messages, 2 authors, 2026-09-05 · open the first message on its own page

[PATCH v3] Kconfig: fix typos in core makefiles/code and purge remaining ghosts (v3)

From: Breno Rodrigues Alves <hidden>
Date: 2026-09-05 00:07:03

Analysis from Sashiko AI revealed that several legacy options were not
true dead weight, but rather victims of pre-existing copy-paste typos
in Makefiles and C code.

This patch:
  - Fixes MediaTek interconnect typo mapping mt8196.o to MT8195.
  - Fixes MediaTek regulator typo mapping mt6316-regulator to MT6315.
  - Fixes missing CONFIG_ prefix on DVB_ULE_DEBUG macro in dvb_net.c.
  - Retains critical PCI_IMX6_EP and Tegra audio prompts to keep hidden
    symbols selectable.
  - Cleans up the dangling comment in drivers/leds/Kconfig.
  - Purges the remaining verified ghost weight.

Signed-off-by: Breno Rodrigues Alves <redacted>
---
 Documentation/admin-guide/index.rst           |  1 -
 Documentation/admin-guide/lcd-panel-cgram.rst | 27 -------------------
 2 files changed, 28 deletions(-)
 delete mode 100644 Documentation/admin-guide/lcd-panel-cgram.rst
diff --git a/Documentation/admin-guide/index.rst b/Documentation/admin-guide/index.rst
index cd28dfe91..70c0bbc87 100644
--- a/Documentation/admin-guide/index.rst
+++ b/Documentation/admin-guide/index.rst
@@ -152,7 +152,6 @@ How to configure your hardware within your Linux system.
    gpio/index
    hw_random
    laptops/index
-   lcd-panel-cgram
    media/index
    nvme-multipath
    parport
diff --git a/Documentation/admin-guide/lcd-panel-cgram.rst b/Documentation/admin-guide/lcd-panel-cgram.rst
deleted file mode 100644
index a3eb00c62..000000000
--- a/Documentation/admin-guide/lcd-panel-cgram.rst
+++ /dev/null
@@ -1,27 +0,0 @@
-======================================
-Parallel port LCD/Keypad Panel support
-======================================
-
-Some LCDs allow you to define up to 8 characters, mapped to ASCII
-characters 0 to 7. The escape code to define a new character is
-'\e[LG' followed by one digit from 0 to 7, representing the character
-number, and up to 8 couples of hex digits terminated by a semi-colon
-(';'). Each couple of digits represents a line, with 1-bits for each
-illuminated pixel with LSB on the right. Lines are numbered from the
-top of the character to the bottom. On a 5x7 matrix, only the 5 lower
-bits of the 7 first bytes are used for each character. If the string
-is incomplete, only complete lines will be redefined. Here are some
-examples::
-
-  printf "\e[LG0010101050D1F0C04;"  => 0 = [enter]
-  printf "\e[LG1040E1F0000000000;"  => 1 = [up]
-  printf "\e[LG2000000001F0E0400;"  => 2 = [down]
-  printf "\e[LG3040E1F001F0E0400;"  => 3 = [up-down]
-  printf "\e[LG40002060E1E0E0602;"  => 4 = [left]
-  printf "\e[LG500080C0E0F0E0C08;"  => 5 = [right]
-  printf "\e[LG60016051516141400;"  => 6 = "IP"
-
-  printf "\e[LG00103071F1F070301;"  => big speaker
-  printf "\e[LG00002061E1E060200;"  => small speaker
-
-Willy
-- 
2.43.0

Re: [PATCH v3] Kconfig: fix typos in core makefiles/code and purge remaining ghosts (v3)

From: sashiko-bot@kernel.org
Date: 2026-09-05 00:14:40

Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [Medium] The patch completely fails to include the changes described in the commit message. The intended C, Makefile, and Kconfig changes were not staged.
- [Low] The deletion of `lcd-panel-cgram.rst` leaves dangling file references in the MAINTAINERS file and translation indexes, which will break maintainer scripts and documentation builds.
- [Low] The deleted documentation file describes features for an active driver and should not have been removed as 'ghost weight'.
--

commit ffbb32c7781c62294c55f80e85430c46b71f5e34
Author: Breno Rodrigues Alves [off-list ref]

Kconfig: fix typos in core makefiles/code and purge remaining ghosts (v3)

This patch intends to correct various typos in Makefiles and C code, clean up
Kconfig files, and remove remaining ghost weight. It modifies the admin-guide
index and removes the lcd-panel-cgram documentation.
    This patch:
      - Fixes MediaTek interconnect typo mapping mt8196.o to MT8195.
      - Fixes MediaTek regulator typo mapping mt6316-regulator to MT6315.
      - Fixes missing CONFIG_ prefix on DVB_ULE_DEBUG macro in dvb_net.c.
      - Retains critical PCI_IMX6_EP and Tegra audio prompts to keep hidden
        symbols selectable.
      - Cleans up the dangling comment in drivers/leds/Kconfig.
      - Purges the remaining verified ghost weight.
[Severity: Medium]
Did the actual code changes get omitted from this patch? 

The diff only touches documentation files (index.rst and lcd-panel-cgram.rst),
and none of the mentioned Makefile, C, or Kconfig modifications are present
in the staged changes.
quoted hunk
diff --git a/Documentation/admin-guide/lcd-panel-cgram.rst b/Documentation/admin-guide/lcd-panel-cgram.rst
deleted file mode 100644
index a3eb00c62f532..0000000000000
--- a/Documentation/admin-guide/lcd-panel-cgram.rst
+++ /dev/null
@@ -1,27 +0,0 @@
-======================================
-Parallel port LCD/Keypad Panel support
-======================================
[Severity: Low]
Does this file describe features for an active driver rather than ghost
weight? 

The documentation appears to describe the active parallel LCD and keypad panel
driver located in drivers/auxdisplay/panel.c. 

Should this documentation be retained?

[Severity: Low]
Does removing this documentation leave dangling references elsewhere in the
tree? 

The MAINTAINERS file still lists this file under the PARALLEL LCD/KEYPAD
PANEL DRIVER section, which will cause maintainer script failures.

Additionally, there are still references to lcd-panel-cgram in the translation
indexes under Documentation/translations/zh_CN/admin-guide/index.rst and
Documentation/translations/zh_TW/admin-guide/index.rst.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260905000655.103429-1-breno3011alves@gmail.com?part=1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help