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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202508042305.PBym6Evd-lkp@intel.com>
Date: Mon, 4 Aug 2025 23:34:40 +0800
From: kernel test robot <lkp@...el.com>
To: José Expósito <jose.exposito89@...il.com>,
	jikos@...nel.org
Cc: oe-kbuild-all@...ts.linux.dev, bentiss@...nel.org, luguohong@...omi.com,
	linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
	José Expósito <jose.exposito89@...il.com>
Subject: Re: [PATCH 2/2] HID: input: report battery status changes immediately

Hi José,

kernel test robot noticed the following build warnings:

[auto build test WARNING on hid/for-next]
[also build test WARNING on linus/master v6.16 next-20250804]
[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/Jos-Exp-sito/HID-input-report-battery-status-changes-immediately/20250804-171355
base:   https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-next
patch link:    https://lore.kernel.org/r/20250804091215.6637-2-jose.exposito89%40gmail.com
patch subject: [PATCH 2/2] HID: input: report battery status changes immediately
config: arm-randconfig-004-20250804 (https://download.01.org/0day-ci/archive/20250804/202508042305.PBym6Evd-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250804/202508042305.PBym6Evd-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/202508042305.PBym6Evd-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/hid/hid-input.c:651:13: warning: 'hidinput_update_battery_charge_status' defined but not used [-Wunused-function]
     651 | static bool hidinput_update_battery_charge_status(struct hid_device *dev,
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/hidinput_update_battery_charge_status +651 drivers/hid/hid-input.c

581c4484769e69 Dmitry Torokhov 2017-08-01  650  
133568dfb5acfa José Expósito   2025-08-04 @651  static bool hidinput_update_battery_charge_status(struct hid_device *dev,
133568dfb5acfa José Expósito   2025-08-04  652  						  unsigned int usage, int value)
581c4484769e69 Dmitry Torokhov 2017-08-01  653  {
133568dfb5acfa José Expósito   2025-08-04  654  	return false;
581c4484769e69 Dmitry Torokhov 2017-08-01  655  }
a608dc1c06397d José Expósito   2022-11-24  656  

-- 
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