Re: [PATCH v3] apple-gmux: preserve brightness using EFI
From: kernel test robot
Date: Wed Feb 11 2026 - 12:03:55 EST
Hi Atharva,
kernel test robot noticed the following build warnings:
[auto build test WARNING on linus/master]
[also build test WARNING on v6.19 next-20260211]
[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/Atharva-Tiwari/apple-gmux-preserve-brightness-using-EFI/20260211-173626
base: linus/master
patch link: https://lore.kernel.org/r/20260211092640.3231-1-atharvatiwarilinuxdev%40gmail.com
patch subject: [PATCH v3] apple-gmux: preserve brightness using EFI
config: x86_64-randconfig-011-20260211 (https://download.01.org/0day-ci/archive/20260212/202602120036.rVaXQsI0-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/20260212/202602120036.rVaXQsI0-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/202602120036.rVaXQsI0-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
drivers/platform/x86/apple-gmux.c: In function 'gmux_shutdown':
>> drivers/platform/x86/apple-gmux.c:1058:13: warning: unused variable 'brightness' [-Wunused-variable]
1058 | u16 brightness = (u16)gmux_get_brightness(gmux_data->bdev);
| ^~~~~~~~~~
vim +/brightness +1058 drivers/platform/x86/apple-gmux.c
1054
1055 static void gmux_shutdown(struct pnp_dev *pnp)
1056 {
1057 struct apple_gmux_data *gmux_data = pnp_get_drvdata(pnp);
> 1058 u16 brightness = (u16)gmux_get_brightness(gmux_data->bdev);
1059
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki