All of lore.kernel.org
 help / color / mirror / Atom feed
* [chrome-os:chromeos-5.15 49/79] drivers/hid/hid-multitouch.c:2110:12: warning: 'mt_reset' defined but not used
@ 2023-11-03 15:11 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-03 15:11 UTC (permalink / raw)
  To: cros-kernel-buildreports, Guenter Roeck; +Cc: oe-kbuild-all

Hi Angela,

FYI, the error/warning still remains.

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.15
head:   3350a3f5b75b51f3beeeb492319057acc736dc38
commit: ac473a0e04d2171f9b25f4c9ed02abeda23fd18f [49/79] CHROMIUM: HID: haptic: implement HID haptic reset callback
config: nios2-randconfig-002-20231101 (https://download.01.org/0day-ci/archive/20231103/202311032338.L18yaDDM-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231103/202311032338.L18yaDDM-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311032338.L18yaDDM-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/hid/hid-multitouch.c:2110:12: warning: 'mt_reset' defined but not used [-Wunused-function]
    2110 | static int mt_reset(struct hid_device *hdev)
         |            ^~~~~~~~


vim +/mt_reset +2110 drivers/hid/hid-multitouch.c

  2109	
> 2110	static int mt_reset(struct hid_device *hdev)
  2111	{
  2112		struct mt_device *td = hid_get_drvdata(hdev);
  2113		struct hid_haptic_device *haptic = td->haptic;
  2114	
  2115		mt_release_contacts(hdev);
  2116		mt_set_modes(hdev, HID_LATENCY_NORMAL, true, true);
  2117	
  2118		if (td->is_haptic_touchpad)
  2119			hid_haptic_reset(hdev, haptic);
  2120	
  2121		return 0;
  2122	}
  2123	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-03 15:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-03 15:11 [chrome-os:chromeos-5.15 49/79] drivers/hid/hid-multitouch.c:2110:12: warning: 'mt_reset' defined but not used kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.