Content-Type: multipart/mixed; boundary="===============7841086052943706014==" MIME-Version: 1.0 From: Guenter Roeck To: kbuild-all@lists.01.org Subject: Re: [groeck-staging:hwmon-next 45/81] drivers/hwmon/pmbus/tps546d24.c:50:34: warning: 'tps546d24_of_match' defined but not used Date: Sun, 25 Sep 2022 14:24:09 -0700 Message-ID: In-Reply-To: <202209260442.8JoEiMPw-lkp@intel.com> List-Id: --===============7841086052943706014== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 9/25/22 14:03, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-stag= ing.git hwmon-next > head: cbc6a25e35c03c8185549669c94103c70e44932e > commit: 009aeddecef3fd3514171af0d53b6ee8606f9c94 [45/81] hwmon: (pmbus) A= dd 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=3D1 build): > # https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-s= taging.git/commit/?id=3D009aeddecef3fd3514171af0d53b6ee8606f9c94 > git remote add groeck-staging https://git.kernel.org/pub/scm/lin= ux/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=3D1 O=3Dbuild_dir ARCH=3Di386 SHELL=3D/bin/bash drivers/h= wmon/pmbus/ > = > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot > = > All warnings (new ones prefixed by >>): > = >>> drivers/hwmon/pmbus/tps546d24.c:50:34: warning: 'tps546d24_of_match' de= fined but not used [-Wunused-const-variable=3D] > 50 | static const struct of_device_id tps546d24_of_match[] =3D { > | ^~~~~~~~~~~~~~~~~~ > = > = 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[] =3D { > 51 {.compatible =3D "ti,tps546d24"}, > 52 {} > 53 }; > 54 MODULE_DEVICE_TABLE(of, tps546d24_of_match); > 55 = >=20 --===============7841086052943706014==--