* Re: [PATCH] platform/x86: quickstart: fix Kconfig selects
2024-04-04 12:34 [PATCH] platform/x86: quickstart: fix Kconfig selects Arnd Bergmann
@ 2024-04-04 14:45 ` Armin Wolf
2024-04-04 19:17 ` Kuppuswamy Sathyanarayanan
2024-04-08 9:20 ` Hans de Goede
2 siblings, 0 replies; 4+ messages in thread
From: Armin Wolf @ 2024-04-04 14:45 UTC (permalink / raw)
To: Arnd Bergmann, Hans de Goede, Ilpo Järvinen
Cc: Arnd Bergmann, Henning Schild, SungHwan Jung, Ai Chao,
Robert Joslyn, Henry Shi, Heiner Kallweit, platform-driver-x86,
linux-kernel
Am 04.04.24 um 14:34 schrieb Arnd Bergmann:
> From: Arnd Bergmann <arnd@arndb.de>
>
> The new driver Kconfig entry has a typo that causes a link failure
> when CONFIG_INPUT_SPARSEKMAP is disabled:
>
> x86_64-linux-ld: drivers/platform/x86/quickstart.o: in function `quickstart_notify':
> quickstart.c:(.text+0x96): undefined reference to `sparse_keymap_report_event'
> x86_64-linux-ld: drivers/platform/x86/quickstart.o: in function `quickstart_probe':
> quickstart.c:(.text+0x1da): undefined reference to `sparse_keymap_setup'
>
> Select this symbol instead of the incorrect INPUT_SPARSE_KEYMAP.
>
> Fixes: afd66f2a739e ("platform/x86: Add ACPI quickstart button (PNP0C32) driver")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> drivers/platform/x86/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
> index ba88a7f259f1..21a37f1b73ab 100644
> --- a/drivers/platform/x86/Kconfig
> +++ b/drivers/platform/x86/Kconfig
> @@ -647,7 +647,7 @@ config ACPI_QUICKSTART
> tristate "ACPI Quickstart button driver"
> depends on ACPI
> depends on INPUT
> - select INPUT_SPARSE_KEYMAP
> + select INPUT_SPARSEKMAP
> help
> This driver adds support for ACPI quickstart button (PNP0C32) devices.
> The button emits a manufacturer-specific key value when pressed, so
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] platform/x86: quickstart: fix Kconfig selects
2024-04-04 12:34 [PATCH] platform/x86: quickstart: fix Kconfig selects Arnd Bergmann
2024-04-04 14:45 ` Armin Wolf
@ 2024-04-04 19:17 ` Kuppuswamy Sathyanarayanan
2024-04-08 9:20 ` Hans de Goede
2 siblings, 0 replies; 4+ messages in thread
From: Kuppuswamy Sathyanarayanan @ 2024-04-04 19:17 UTC (permalink / raw)
To: Arnd Bergmann, Hans de Goede, Ilpo Järvinen, Armin Wolf
Cc: Arnd Bergmann, Henning Schild, SungHwan Jung, Ai Chao,
Robert Joslyn, Henry Shi, Heiner Kallweit, platform-driver-x86,
linux-kernel
On 4/4/24 5:34 AM, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> The new driver Kconfig entry has a typo that causes a link failure
> when CONFIG_INPUT_SPARSEKMAP is disabled:
>
> x86_64-linux-ld: drivers/platform/x86/quickstart.o: in function `quickstart_notify':
> quickstart.c:(.text+0x96): undefined reference to `sparse_keymap_report_event'
> x86_64-linux-ld: drivers/platform/x86/quickstart.o: in function `quickstart_probe':
> quickstart.c:(.text+0x1da): undefined reference to `sparse_keymap_setup'
>
> Select this symbol instead of the incorrect INPUT_SPARSE_KEYMAP.
>
> Fixes: afd66f2a739e ("platform/x86: Add ACPI quickstart button (PNP0C32) driver")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
LGTM
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
> drivers/platform/x86/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
> index ba88a7f259f1..21a37f1b73ab 100644
> --- a/drivers/platform/x86/Kconfig
> +++ b/drivers/platform/x86/Kconfig
> @@ -647,7 +647,7 @@ config ACPI_QUICKSTART
> tristate "ACPI Quickstart button driver"
> depends on ACPI
> depends on INPUT
> - select INPUT_SPARSE_KEYMAP
> + select INPUT_SPARSEKMAP
> help
> This driver adds support for ACPI quickstart button (PNP0C32) devices.
> The button emits a manufacturer-specific key value when pressed, so
--
Sathyanarayanan Kuppuswamy
Linux Kernel Developer
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] platform/x86: quickstart: fix Kconfig selects
2024-04-04 12:34 [PATCH] platform/x86: quickstart: fix Kconfig selects Arnd Bergmann
2024-04-04 14:45 ` Armin Wolf
2024-04-04 19:17 ` Kuppuswamy Sathyanarayanan
@ 2024-04-08 9:20 ` Hans de Goede
2 siblings, 0 replies; 4+ messages in thread
From: Hans de Goede @ 2024-04-08 9:20 UTC (permalink / raw)
To: Arnd Bergmann, Ilpo Järvinen, Armin Wolf
Cc: Arnd Bergmann, Henning Schild, SungHwan Jung, Ai Chao,
Robert Joslyn, Henry Shi, Heiner Kallweit, platform-driver-x86,
linux-kernel
Hi,
On 4/4/24 2:34 PM, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> The new driver Kconfig entry has a typo that causes a link failure
> when CONFIG_INPUT_SPARSEKMAP is disabled:
>
> x86_64-linux-ld: drivers/platform/x86/quickstart.o: in function `quickstart_notify':
> quickstart.c:(.text+0x96): undefined reference to `sparse_keymap_report_event'
> x86_64-linux-ld: drivers/platform/x86/quickstart.o: in function `quickstart_probe':
> quickstart.c:(.text+0x1da): undefined reference to `sparse_keymap_setup'
>
> Select this symbol instead of the incorrect INPUT_SPARSE_KEYMAP.
>
> Fixes: afd66f2a739e ("platform/x86: Add ACPI quickstart button (PNP0C32) driver")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Thank you for your patch, I've applied this patch to my review-hans
branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans
Note it will show up in my review-hans branch once I've pushed my
local branch there, which might take a while.
Once I've run some tests on this branch the patches there will be
added to the platform-drivers-x86/for-next branch and eventually
will be included in the pdx86 pull-request to Linus for the next
merge-window.
Regards,
Hans
> ---
> drivers/platform/x86/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
> index ba88a7f259f1..21a37f1b73ab 100644
> --- a/drivers/platform/x86/Kconfig
> +++ b/drivers/platform/x86/Kconfig
> @@ -647,7 +647,7 @@ config ACPI_QUICKSTART
> tristate "ACPI Quickstart button driver"
> depends on ACPI
> depends on INPUT
> - select INPUT_SPARSE_KEYMAP
> + select INPUT_SPARSEKMAP
> help
> This driver adds support for ACPI quickstart button (PNP0C32) devices.
> The button emits a manufacturer-specific key value when pressed, so
^ permalink raw reply [flat|nested] 4+ messages in thread