All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com,
	Guenter Roeck <groeck@google.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [chrome-os:chromeos-5.15 49/79] drivers/hid/hid-multitouch.c:2110:12: warning: 'mt_reset' defined but not used
Date: Fri, 3 Nov 2023 23:11:34 +0800	[thread overview]
Message-ID: <202311032338.L18yaDDM-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-11-03 15:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202311032338.L18yaDDM-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.com \
    --cc=groeck@google.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.