lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202602120036.rVaXQsI0-lkp@intel.com>
Date: Thu, 12 Feb 2026 01:03:01 +0800
From: kernel test robot <lkp@...el.com>
To: Atharva Tiwari <atharvatiwarilinuxdev@...il.com>
Cc: oe-kbuild-all@...ts.linux.dev,
	Atharva Tiwari <atharvatiwarilinuxdev@...il.com>,
	Hans de Goede <hansg@...nel.org>,
	Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>,
	platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] apple-gmux: preserve brightness using EFI

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@intel.com/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@intel.com/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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202602120036.rVaXQsI0-lkp@intel.com/

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ