Re: [PATCH] platform/x86: bitland-mifs-wmi: add TM2424 thin-ultrabook perf-mode quirk
From: kernel test robot
Date: Sun Aug 23 2026 - 07:50:30 EST
Hi,
kernel test robot noticed the following build warnings:
[auto build test WARNING on linus/master]
[also build test WARNING on v7.2 next-20260821]
[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/kento-kekto-ru/platform-x86-bitland-mifs-wmi-add-TM2424-thin-ultrabook-perf-mode-quirk/20260817-005825
base: linus/master
patch link: https://lore.kernel.org/r/20260816215825.289356-1-kento%40kekto.ru
patch subject: [PATCH] platform/x86: bitland-mifs-wmi: add TM2424 thin-ultrabook perf-mode quirk
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20260823/202608231529.3fyLjqpt-lkp@xxxxxxxxx/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260823/202608231529.3fyLjqpt-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/202608231529.3fyLjqpt-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> drivers/platform/x86/bitland-mifs-wmi.c:743:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
743 | &dev_attr_gpu_mode.attr,
| ^
drivers/platform/x86/bitland-mifs-wmi.c:744:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
744 | &dev_attr_kb_mode.attr,
| ^
drivers/platform/x86/bitland-mifs-wmi.c:745:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
745 | &dev_attr_fan_boost.attr,
| ^
vim +/const +743 drivers/platform/x86/bitland-mifs-wmi.c
dc1ec4fa86b2b8 Mingyou Chen 2026-03-23 741
8bbb6b46df1cec KentoNion 2026-08-17 742 static struct attribute *laptop_attrs[] = {
dc1ec4fa86b2b8 Mingyou Chen 2026-03-23 @743 &dev_attr_gpu_mode.attr,
dc1ec4fa86b2b8 Mingyou Chen 2026-03-23 744 &dev_attr_kb_mode.attr,
dc1ec4fa86b2b8 Mingyou Chen 2026-03-23 745 &dev_attr_fan_boost.attr,
dc1ec4fa86b2b8 Mingyou Chen 2026-03-23 746 NULL,
dc1ec4fa86b2b8 Mingyou Chen 2026-03-23 747 };
8bbb6b46df1cec KentoNion 2026-08-17 748
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki