Re: [PATCH v4 9/9] platform/x86: asus-wmi: deprecate bios features

From: Luke Jones
Date: Sat Sep 28 2024 - 17:03:24 EST




On Sat, 28 Sep 2024, at 12:13 PM, kernel test robot wrote:
> Hi Luke,
>
> kernel test robot noticed the following build warnings:
>
> [auto build test WARNING on hid/for-next]
> [also build test WARNING on linus/master next-20240927]
> [cannot apply to v6.11]
> [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#_base_tree_information]
>
> url:
> https://github.com/intel-lab-lkp/linux/commits/Luke-D-Jones/platform-x86-asus-wmi-export-symbols-used-for-read-write-WMI/20240926-173528
> base: https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git
> for-next
> patch link:
> https://lore.kernel.org/r/20240926092952.1284435-10-luke%40ljones.dev
> patch subject: [PATCH v4 9/9] platform/x86: asus-wmi: deprecate bios
> features
> config: i386-randconfig-061-20240928
> (https://download.01.org/0day-ci/archive/20240928/202409280735.meXnoMkl-lkp@xxxxxxxxx/config)
> compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project
> 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
> reproduce (this is a W=1 build):
> (https://download.01.org/0day-ci/archive/20240928/202409280735.meXnoMkl-lkp@xxxxxxxxx/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new
> version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> | Closes:
> https://lore.kernel.org/oe-kbuild-all/202409280735.meXnoMkl-lkp@xxxxxxxxx/
>
> All warnings (new ones prefixed by >>):
>
>>> drivers/platform/x86/asus-wmi.c:154:35: warning: unused variable 'asus_ally_mcu_quirk' [-Wunused-const-variable]
> 154 | static const struct dmi_system_id asus_ally_mcu_quirk[] = {
> | ^~~~~~~~~~~~~~~~~~~
> 1 warning generated.


Not sure where this is coming from but it can be cleaned up by https://lore.kernel.org/platform-driver-x86/c19f3530-a065-461f-a5bf-ccc3988cf24c@xxxxxxx/T/#t v2

>
> vim +/asus_ally_mcu_quirk +154 drivers/platform/x86/asus-wmi.c
>
> 0f0ac158d28ff7 Luke D. Jones 2021-10-24 153
> d2dfed310aae07 Luke D. Jones 2024-08-06 @154 static const struct
> dmi_system_id asus_ally_mcu_quirk[] = {
> d2dfed310aae07 Luke D. Jones 2024-08-06 155 {
> d2dfed310aae07 Luke D. Jones 2024-08-06 156 .matches = {
> d2dfed310aae07 Luke D. Jones 2024-08-06 157
> DMI_MATCH(DMI_BOARD_NAME, "RC71L"),
> d2dfed310aae07 Luke D. Jones 2024-08-06 158 },
> d2dfed310aae07 Luke D. Jones 2024-08-06 159 },
> d2dfed310aae07 Luke D. Jones 2024-08-06 160 {
> d2dfed310aae07 Luke D. Jones 2024-08-06 161 .matches = {
> d2dfed310aae07 Luke D. Jones 2024-08-06 162
> DMI_MATCH(DMI_BOARD_NAME, "RC72L"),
> d2dfed310aae07 Luke D. Jones 2024-08-06 163 },
> d2dfed310aae07 Luke D. Jones 2024-08-06 164 },
> d2dfed310aae07 Luke D. Jones 2024-08-06 165 { },
> d2dfed310aae07 Luke D. Jones 2024-08-06 166 };
> d2dfed310aae07 Luke D. Jones 2024-08-06 167
>
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki