Content-Type: multipart/mixed; boundary="===============4024296234144111394==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH RESEND 1/4] hwmon: (sch56xx) Autoload modules on platform device creation Date: Mon, 31 Jan 2022 21:28:26 +0800 Message-ID: <202201312123.4IfI3lGh-lkp@intel.com> In-Reply-To: <20220131093756.8075-2-W_Armin@gmx.de> List-Id: --===============4024296234144111394== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Armin, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on groeck-staging/hwmon-next] [also build test WARNING on v5.17-rc2 next-20220131] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Armin-Wolf/hwmon-sch56xx-A= utomatically-load-on-supported-hardware/20220131-173922 base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-stagin= g.git hwmon-next config: x86_64-randconfig-a016-20220131 (https://download.01.org/0day-ci/ar= chive/20220131/202201312123.4IfI3lGh-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 2cdbac= a3943a4d6259119f185656328bd3805b68) reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/fca8c6c3e08b173fb6ac72499= 933662f18332d95 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Armin-Wolf/hwmon-sch56xx-Automatic= ally-load-on-supported-hardware/20220131-173922 git checkout fca8c6c3e08b173fb6ac72499933662f18332d95 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Dx86_64 SHELL=3D/bin/bash drivers/hwmon/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/hwmon/sch5636.c:505:40: warning: unused variable 'sch5636_device= _ids' [-Wunused-const-variable] static const struct platform_device_id sch5636_device_ids[] __initconst = =3D { ^ 1 warning generated. vim +/sch5636_device_ids +505 drivers/hwmon/sch5636.c 504 = > 505 static const struct platform_device_id sch5636_device_ids[] __initco= nst =3D { 506 { 507 .name =3D "sch5636", 508 }, 509 { } 510 }; 511 MODULE_DEVICE_TABLE(platform, sch5636_device_ids); 512 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============4024296234144111394==--