* [PATCH] Input: i8042 - fix Pegatron C15B ID entry
@ 2021-03-23 13:06 Arnd Bergmann
2021-03-23 14:02 ` Hans de Goede
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Arnd Bergmann @ 2021-03-23 13:06 UTC (permalink / raw)
To: Dmitry Torokhov, Marcos Paulo de Souza
Cc: Arnd Bergmann, Po-Hsu Lin, Kevin Locke, Hans de Goede,
Alexey Dobriyan, David Pedersen, Rajat Jain, Chris Chiu,
Jiri Kosina, linux-input, linux-kernel
From: Arnd Bergmann <arnd@arndb.de>
The Zenbook Flip entry that was added overwrites a previous one
because of a typo:
In file included from drivers/input/serio/i8042.h:23,
from drivers/input/serio/i8042.c:131:
drivers/input/serio/i8042-x86ia64io.h:591:28: error: initialized field overwritten [-Werror=override-init]
591 | .matches = {
| ^
drivers/input/serio/i8042-x86ia64io.h:591:28: note: (near initialization for 'i8042_dmi_noselftest_table[0].matches')
Add the missing separator between the two.
Fixes: b5d6e7ab7fe7 ("Input: i8042 - add ASUS Zenbook Flip to noselftest list")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/input/serio/i8042-x86ia64io.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
index 9119e12a5778..a5a003553646 100644
--- a/drivers/input/serio/i8042-x86ia64io.h
+++ b/drivers/input/serio/i8042-x86ia64io.h
@@ -588,6 +588,7 @@ static const struct dmi_system_id i8042_dmi_noselftest_table[] = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_CHASSIS_TYPE, "10"), /* Notebook */
},
+ }, {
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
DMI_MATCH(DMI_CHASSIS_TYPE, "31"), /* Convertible Notebook */
--
2.29.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] Input: i8042 - fix Pegatron C15B ID entry
2021-03-23 13:06 [PATCH] Input: i8042 - fix Pegatron C15B ID entry Arnd Bergmann
@ 2021-03-23 14:02 ` Hans de Goede
2021-03-23 14:42 ` Marcos Paulo de Souza
2021-03-23 16:58 ` Dmitry Torokhov
2 siblings, 0 replies; 4+ messages in thread
From: Hans de Goede @ 2021-03-23 14:02 UTC (permalink / raw)
To: Arnd Bergmann, Dmitry Torokhov, Marcos Paulo de Souza
Cc: Arnd Bergmann, Po-Hsu Lin, Kevin Locke, Alexey Dobriyan,
David Pedersen, Rajat Jain, Chris Chiu, Jiri Kosina, linux-input,
linux-kernel
Hi,
On 3/23/21 2:06 PM, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> The Zenbook Flip entry that was added overwrites a previous one
> because of a typo:
>
> In file included from drivers/input/serio/i8042.h:23,
> from drivers/input/serio/i8042.c:131:
> drivers/input/serio/i8042-x86ia64io.h:591:28: error: initialized field overwritten [-Werror=override-init]
> 591 | .matches = {
> | ^
> drivers/input/serio/i8042-x86ia64io.h:591:28: note: (near initialization for 'i8042_dmi_noselftest_table[0].matches')
>
> Add the missing separator between the two.
>
> Fixes: b5d6e7ab7fe7 ("Input: i8042 - add ASUS Zenbook Flip to noselftest list")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Thanks, patch looks good to me:
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Regards,
Hans
> ---
> drivers/input/serio/i8042-x86ia64io.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
> index 9119e12a5778..a5a003553646 100644
> --- a/drivers/input/serio/i8042-x86ia64io.h
> +++ b/drivers/input/serio/i8042-x86ia64io.h
> @@ -588,6 +588,7 @@ static const struct dmi_system_id i8042_dmi_noselftest_table[] = {
> DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
> DMI_MATCH(DMI_CHASSIS_TYPE, "10"), /* Notebook */
> },
> + }, {
> .matches = {
> DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
> DMI_MATCH(DMI_CHASSIS_TYPE, "31"), /* Convertible Notebook */
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Input: i8042 - fix Pegatron C15B ID entry
2021-03-23 13:06 [PATCH] Input: i8042 - fix Pegatron C15B ID entry Arnd Bergmann
2021-03-23 14:02 ` Hans de Goede
@ 2021-03-23 14:42 ` Marcos Paulo de Souza
2021-03-23 16:58 ` Dmitry Torokhov
2 siblings, 0 replies; 4+ messages in thread
From: Marcos Paulo de Souza @ 2021-03-23 14:42 UTC (permalink / raw)
To: Arnd Bergmann, Dmitry Torokhov, Marcos Paulo de Souza
Cc: Arnd Bergmann, Po-Hsu Lin, Kevin Locke, Hans de Goede,
Alexey Dobriyan, David Pedersen, Rajat Jain, Chris Chiu,
Jiri Kosina, linux-input, linux-kernel
On Tue, 2021-03-23 at 14:06 +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> The Zenbook Flip entry that was added overwrites a previous one
> because of a typo:
>
> In file included from drivers/input/serio/i8042.h:23,
> from drivers/input/serio/i8042.c:131:
> drivers/input/serio/i8042-x86ia64io.h:591:28: error: initialized
> field overwritten [-Werror=override-init]
> 591 | .matches = {
> | ^
> drivers/input/serio/i8042-x86ia64io.h:591:28: note: (near
> initialization for 'i8042_dmi_noselftest_table[0].matches')
>
> Add the missing separator between the two.
Oops, my bad...
Thanks for fixing it Arnd.
Reviewed-by: Marcos Paulo de Souza <mpdesouza@suse.com>
>
> Fixes: b5d6e7ab7fe7 ("Input: i8042 - add ASUS Zenbook Flip to
> noselftest list")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> drivers/input/serio/i8042-x86ia64io.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/input/serio/i8042-x86ia64io.h
> b/drivers/input/serio/i8042-x86ia64io.h
> index 9119e12a5778..a5a003553646 100644
> --- a/drivers/input/serio/i8042-x86ia64io.h
> +++ b/drivers/input/serio/i8042-x86ia64io.h
> @@ -588,6 +588,7 @@ static const struct dmi_system_id
> i8042_dmi_noselftest_table[] = {
> DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER
> INC."),
> DMI_MATCH(DMI_CHASSIS_TYPE, "10"), /* Notebook
> */
> },
> + }, {
> .matches = {
> DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER
> INC."),
> DMI_MATCH(DMI_CHASSIS_TYPE, "31"), /*
> Convertible Notebook */
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Input: i8042 - fix Pegatron C15B ID entry
2021-03-23 13:06 [PATCH] Input: i8042 - fix Pegatron C15B ID entry Arnd Bergmann
2021-03-23 14:02 ` Hans de Goede
2021-03-23 14:42 ` Marcos Paulo de Souza
@ 2021-03-23 16:58 ` Dmitry Torokhov
2 siblings, 0 replies; 4+ messages in thread
From: Dmitry Torokhov @ 2021-03-23 16:58 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Marcos Paulo de Souza, Arnd Bergmann, Po-Hsu Lin, Kevin Locke,
Hans de Goede, Alexey Dobriyan, David Pedersen, Rajat Jain,
Chris Chiu, Jiri Kosina, linux-input, linux-kernel
On Tue, Mar 23, 2021 at 02:06:13PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> The Zenbook Flip entry that was added overwrites a previous one
> because of a typo:
>
> In file included from drivers/input/serio/i8042.h:23,
> from drivers/input/serio/i8042.c:131:
> drivers/input/serio/i8042-x86ia64io.h:591:28: error: initialized field overwritten [-Werror=override-init]
> 591 | .matches = {
> | ^
> drivers/input/serio/i8042-x86ia64io.h:591:28: note: (near initialization for 'i8042_dmi_noselftest_table[0].matches')
>
> Add the missing separator between the two.
>
> Fixes: b5d6e7ab7fe7 ("Input: i8042 - add ASUS Zenbook Flip to noselftest list")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Applied, thank you.
--
Dmitry
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-03-23 16:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23 13:06 [PATCH] Input: i8042 - fix Pegatron C15B ID entry Arnd Bergmann
2021-03-23 14:02 ` Hans de Goede
2021-03-23 14:42 ` Marcos Paulo de Souza
2021-03-23 16:58 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).