Re: [PATCH 06/20] include: input: elan-i2c-ids: Mark 'elan_acpi_id' as __maybe_unused

2020-11-05 Thread Lee Jones
On Thu, 05 Nov 2020, Dmitry Torokhov wrote: > On Thu, Nov 05, 2020 at 09:13:05AM +, Lee Jones wrote: > > On Wed, 04 Nov 2020, Dmitry Torokhov wrote: > > > > > Hi Lee, > > > > > > On Wed, Nov 04, 2020 at 04:24:13PM +, Lee Jones wrote: > > > > Some drivers which include 'elan-i2c-ids.h'

Re: [PATCH 06/20] include: input: elan-i2c-ids: Mark 'elan_acpi_id' as __maybe_unused

2020-11-05 Thread Dmitry Torokhov
On Thu, Nov 05, 2020 at 09:13:05AM +, Lee Jones wrote: > On Wed, 04 Nov 2020, Dmitry Torokhov wrote: > > > Hi Lee, > > > > On Wed, Nov 04, 2020 at 04:24:13PM +, Lee Jones wrote: > > > Some drivers which include 'elan-i2c-ids.h' make use of > > > 'elan_acpi_id', but not all do. Tell the

Re: [PATCH 06/20] include: input: elan-i2c-ids: Mark 'elan_acpi_id' as __maybe_unused

2020-11-05 Thread Lee Jones
On Wed, 04 Nov 2020, Dmitry Torokhov wrote: > Hi Lee, > > On Wed, Nov 04, 2020 at 04:24:13PM +, Lee Jones wrote: > > Some drivers which include 'elan-i2c-ids.h' make use of > > 'elan_acpi_id', but not all do. Tell the compiler that this is > > expected behaviour. > > > > Fixes the

Re: [PATCH 06/20] include: input: elan-i2c-ids: Mark 'elan_acpi_id' as __maybe_unused

2020-11-04 Thread Dmitry Torokhov
Hi Lee, On Wed, Nov 04, 2020 at 04:24:13PM +, Lee Jones wrote: > Some drivers which include 'elan-i2c-ids.h' make use of > 'elan_acpi_id', but not all do. Tell the compiler that this is > expected behaviour. > > Fixes the following W=1 kernel build warning(s): > >

[PATCH 06/20] include: input: elan-i2c-ids: Mark 'elan_acpi_id' as __maybe_unused

2020-11-04 Thread Lee Jones
Some drivers which include 'elan-i2c-ids.h' make use of 'elan_acpi_id', but not all do. Tell the compiler that this is expected behaviour. Fixes the following W=1 kernel build warning(s): include/linux/input/elan-i2c-ids.h:26:36: warning: ‘elan_acpi_id’ defined but not used