Linux kbuild/kconfig development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Nathan Chancellor" <nathan@kernel.org>,
	"Dmitry Torokhov" <dmitry.torokhov@gmail.com>,
	"Nicolas Schier" <nsc@kernel.org>
Cc: linux-input@vger.kernel.org, linux-kbuild@vger.kernel.org,
	"Sasha Levin" <sashal@kernel.org>
Subject: Re: [PATCH] Input: apm-power - Rename to apm-power-input
Date: Tue, 10 Nov 2026 06:25:45 +0000	[thread overview]
Message-ID: <sashiko-outbox-206414@kernel.org> (raw)
In-Reply-To: <20261109-apm-power-input-rename-v1-1-0609e7b91825@kernel.org>

Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Low] Input: apm-power-input - update module name in INPUT_APMPOWER
  Kconfig help
- [Low] Input: apm-power-input - missing Fixes trailer for module name
  conflict
--

commit 8f18f8cadb4c04ceefb13fb63bb9751daa2db15a
Author: Nathan Chancellor <nathan@kernel.org>

> Input: apm-power - Rename to apm-power-input
>
> When scripts/modules-check.sh is fixed to normalize the module's name
> like name-fix-token does in scripts/Makefile.lib before checking that it
> is unique [1], there is an error due to drivers/input/apm-power.ko and
> drivers/power/supply/apm_power.ko having the same module name.
>
>   error: the following would cause module name conflict:
>     drivers/input/apm-power.ko
>     drivers/power/supply/apm_power.ko
>
>   $ modinfo drivers/input/apm-power.ko drivers/power/supply/apm_power.ko | grep name:
>   filename:       drivers/input/apm-power.ko
>   name:           apm_power
>   filename:       drivers/power/supply/apm_power.ko
>   name:           apm_power
>
> Rename drivers/input/apm-power.c to apm-power-input.c to make the module
> name unique and clear up the error.
>
> Reported-by: Sasha Levin <sashal@kernel.org>
> Closes: https://lore.kernel.org/20261108225808.1809266-1-sashal@kernel.org/
> Link: https://lore.kernel.org/20261103110411.11698-1-info@daylightlinux.ch/ [1]
> Signed-off-by: Nathan Chancellor <nathan@kernel.org>

[Severity: Low]
Since drivers/power/supply/apm_power.c already existed when
drivers/input/apm-power.c was added, should this include:

  Fixes: e17bb1de3b7f ("Input: add input event to APM event bridge")

> diff --git a/drivers/input/Makefile b/drivers/input/Makefile
> index 2cd6e1c9a7784..842a7e4f7b508 100644
> --- a/drivers/input/Makefile
> +++ b/drivers/input/Makefile
> @@ -27,6 +27,6 @@ obj-$(CONFIG_INPUT_TOUCHSCREEN)	+= touchscreen/
>  obj-$(CONFIG_INPUT_MISC)	+= misc/
>  obj-$(CONFIG_INPUT_KUNIT_TEST)	+= tests/
>  
> -obj-$(CONFIG_INPUT_APMPOWER)	+= apm-power.o
> +obj-$(CONFIG_INPUT_APMPOWER)	+= apm-power-input.o
>  
>  obj-$(CONFIG_RMI4_CORE)		+= rmi4/

[Severity: Low]
Should the help text for INPUT_APMPOWER in drivers/input/Kconfig also be
updated to say that the module will be called apm-power-input instead of
apm-power?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261109-apm-power-input-rename-v1-1-0609e7b91825@kernel.org?part=1

      parent reply	other threads:[~2026-11-10  6:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-09  6:25 [PATCH] Input: apm-power - Rename to apm-power-input Nathan Chancellor
2026-11-09  7:07 ` Nicolas Schier
2026-11-09  8:09 ` Dmitry Torokhov
2026-11-09 16:39   ` Nathan Chancellor
2026-11-10  6:25 ` 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=sashiko-outbox-206414@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=nathan@kernel.org \
    --cc=nsc@kernel.org \
    --cc=sashal@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