* Re: [groeck-staging:hwmon-next 45/81] drivers/hwmon/pmbus/tps546d24.c:50:34: warning: 'tps546d24_of_match' defined but not used
[not found] <202209260442.8JoEiMPw-lkp@intel.com>
@ 2022-09-25 21:24 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2022-09-25 21:24 UTC (permalink / raw)
To: kernel test robot, Duke Du; +Cc: kbuild-all, linux-hwmon
On 9/25/22 14:03, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
> head: cbc6a25e35c03c8185549669c94103c70e44932e
> commit: 009aeddecef3fd3514171af0d53b6ee8606f9c94 [45/81] hwmon: (pmbus) Add driver for the TEXAS TPS546D24 Buck Converter.
> config: i386-randconfig-r036-20220926
> compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
> reproduce (this is a W=1 build):
> # https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git/commit/?id=009aeddecef3fd3514171af0d53b6ee8606f9c94
> git remote add groeck-staging https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git
> git fetch --no-tags groeck-staging hwmon-next
> git checkout 009aeddecef3fd3514171af0d53b6ee8606f9c94
> # save the config file
> mkdir build_dir && cp config build_dir/.config
> make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/hwmon/pmbus/
>
> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@intel.com>
>
> All warnings (new ones prefixed by >>):
>
>>> drivers/hwmon/pmbus/tps546d24.c:50:34: warning: 'tps546d24_of_match' defined but not used [-Wunused-const-variable=]
> 50 | static const struct of_device_id tps546d24_of_match[] = {
> | ^~~~~~~~~~~~~~~~~~
>
>
Fixed in hwmon-next.
Thanks,
Guenter
> vim +/tps546d24_of_match +50 drivers/hwmon/pmbus/tps546d24.c
>
> 49
> > 50 static const struct of_device_id tps546d24_of_match[] = {
> 51 {.compatible = "ti,tps546d24"},
> 52 {}
> 53 };
> 54 MODULE_DEVICE_TABLE(of, tps546d24_of_match);
> 55
>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [groeck-staging:hwmon-next 45/81] drivers/hwmon/pmbus/tps546d24.c:50:34: warning: 'tps546d24_of_match' defined but not used
@ 2022-09-25 21:24 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2022-09-25 21:24 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1775 bytes --]
On 9/25/22 14:03, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
> head: cbc6a25e35c03c8185549669c94103c70e44932e
> commit: 009aeddecef3fd3514171af0d53b6ee8606f9c94 [45/81] hwmon: (pmbus) Add driver for the TEXAS TPS546D24 Buck Converter.
> config: i386-randconfig-r036-20220926
> compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
> reproduce (this is a W=1 build):
> # https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git/commit/?id=009aeddecef3fd3514171af0d53b6ee8606f9c94
> git remote add groeck-staging https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git
> git fetch --no-tags groeck-staging hwmon-next
> git checkout 009aeddecef3fd3514171af0d53b6ee8606f9c94
> # save the config file
> mkdir build_dir && cp config build_dir/.config
> make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/hwmon/pmbus/
>
> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@intel.com>
>
> All warnings (new ones prefixed by >>):
>
>>> drivers/hwmon/pmbus/tps546d24.c:50:34: warning: 'tps546d24_of_match' defined but not used [-Wunused-const-variable=]
> 50 | static const struct of_device_id tps546d24_of_match[] = {
> | ^~~~~~~~~~~~~~~~~~
>
>
Fixed in hwmon-next.
Thanks,
Guenter
> vim +/tps546d24_of_match +50 drivers/hwmon/pmbus/tps546d24.c
>
> 49
> > 50 static const struct of_device_id tps546d24_of_match[] = {
> 51 {.compatible = "ti,tps546d24"},
> 52 {}
> 53 };
> 54 MODULE_DEVICE_TABLE(of, tps546d24_of_match);
> 55
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-25 21:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <202209260442.8JoEiMPw-lkp@intel.com>
2022-09-25 21:24 ` [groeck-staging:hwmon-next 45/81] drivers/hwmon/pmbus/tps546d24.c:50:34: warning: 'tps546d24_of_match' defined but not used Guenter Roeck
2022-09-25 21:24 ` Guenter Roeck
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.