From: sashiko-bot@kernel.org
To: "Julian Braha" <julianbraha@gmail.com>
Cc: dmitry.torokhov@gmail.com, linux-input@vger.kernel.org
Subject: Re: [PATCH] HID: cleanup help indentation in kconfig
Date: Tue, 30 Jun 2026 14:33:54 +0000 [thread overview]
Message-ID: <20260630143354.EEFE81F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260630142043.496559-1-julianbraha@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Malformed Kconfig help text indentation in `config HID_LENOVO` introduces a syntax error that breaks the kernel configuration process.
--
commit a32d9e3aafce015a8cfc25d49c3d96d9d8d186de
Author: Julian Braha <julianbraha@gmail.com>
HID: cleanup help indentation in kconfig
This commit standardizes the Kconfig help text indentation in the HID
subsystem to 2 spaces.
> diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
> index f9bcaeb66385b..9b04ef19a4d24 100644
> --- a/drivers/hid/Kconfig
> +++ b/drivers/hid/Kconfig
[ ... ]
> @@ -608,12 +608,12 @@ config HID_LENOVO
> tristate "Lenovo / Thinkpad devices"
> depends on LEDS_CLASS
> help
> - Support for IBM/Lenovo devices that are not fully compliant with HID standard.
> + Support for IBM/Lenovo devices that are not fully compliant with HID standard.
>
> - Say Y if you want support for horizontal scrolling of the IBM/Lenovo
> - Scrollpoint mice or the non-compliant features of the Lenovo Thinkpad
> - standalone keyboards, e.g:
> - - ThinkPad USB Keyboard with TrackPoint (supports extra LEDs and trackpoint
> - configuration)
> - - ThinkPad Compact Bluetooth Keyboard with TrackPoint (supports Fn keys)
> - - ThinkPad Compact USB Keyboard with TrackPoint (supports Fn keys)
> + Say Y if you want support for horizontal scrolling of the IBM/Lenovo
> + Scrollpoint mice or the non-compliant features of the Lenovo Thinkpad
> + standalone keyboards, e.g:
> + - ThinkPad USB Keyboard with TrackPoint (supports extra LEDs and trackpoint
> + configuration)
> + - ThinkPad Compact Bluetooth Keyboard with TrackPoint (supports Fn keys)
> + - ThinkPad Compact USB Keyboard with TrackPoint (supports Fn keys)
[Severity: Low]
Does this indentation cause a Kconfig syntax error?
These last two lines in the config HID_LENOVO block appear to be indented
with 6 spaces instead of matching the preceding lines. Because 6 spaces is
less than the indentation of the first line of the help text, the Kconfig
lexer will prematurely terminate the help block here.
Will this cause the parser to treat these lines as top-level Kconfig
statements and result in a syntax error when trying to build or configure
the kernel?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260630142043.496559-1-julianbraha@gmail.com?part=1
prev parent reply other threads:[~2026-06-30 14:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-30 14:20 [PATCH] HID: cleanup help indentation in kconfig Julian Braha
2026-06-30 14:33 ` sashiko-bot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260630143354.EEFE81F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=julianbraha@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox