Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1276636

Re: [PATCH v4 2/2] USB: quirks: Apply ALWAYS_POLL to all ELAN devices

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v4 2/2] USB: quirks: Apply ALWAYS_POLL to all ELAN devices
Date Tue, 24 Nov 2015 17:50:01 +0100
Message-ID <qyoWZ-2d3-1@gated-at.bofh.it> (permalink)
References <qynoe-1lP-23@gated-at.bofh.it>
X-Original-To Adrien Vergé <adrienverge@gmail.com>
X-Extloop1 1
X-Ironport-Av E=Sophos;i="5.20,338,1444719600"; d="gz'50?scan'50,208,50";a="828100834"
MIME-Version 1.0
Content-Type multipart/mixed; boundary="XsQoSWH+UP9D9v3l"
Content-Disposition inline
User-Agent Mutt/1.5.23 (2014-03-12)
X-Sa-Exim-Connect-IP <locally generated>
X-Sa-Exim-Mail-From fengguang.wu@intel.com
X-Sa-Exim-Scanned No (on bee); SAEximRunCond expanded to false
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 333
Organization linux.* mail to news gateway
X-Original-Cc kbuild-all@01.org, Benjamin Tissoires <benjamin.tissoires@gmail.com>, Oliver Neukum <oneukum@suse.com>, Jiri Kosina <jikos@kernel.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Logan Gunthorpe <logang@deltatee.com>, Hans de Goede <hdegoede@redhat.com>, Vincent Palatin <vpalatin@chromium.org>, Adrien Vergé <adrienverge@gmail.com>, Macpaul Lin <macpaul@gmail.com>, Adel Gadllah <adel.gadllah@gmail.com>, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org
X-Original-Date Wed, 25 Nov 2015 00:41:35 +0800
X-Original-Message-ID <201511250047.RxdAXBvy%fengguang.wu@intel.com>
X-Original-References <1448377325-4725-3-git-send-email-adrienverge@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1276636

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Adrien,

[auto build test WARNING on hid/for-next]
[also build test WARNING on v4.4-rc2 next-20151124]

url:    https://github.com/0day-ci/linux/commits/Adrien-Verg/Fixes-for-ELAN-touchscreens/20151124-230537
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-next
config: avr32-hammerhead_defconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=avr32 

All warnings (new ones prefixed by >>):

   drivers/hid/usbhid/hid-quirks.c: In function 'usbhid_exists_squirk':
>> drivers/hid/usbhid/hid-quirks.c:339: warning: comparison is always false due to limited range of data type

vim +339 drivers/hid/usbhid/hid-quirks.c

   323	 * @idProduct: the 16-bit USB product ID, in native byteorder
   324	 *
   325	 * Description:
   326	 *     Given a USB vendor ID and product ID, return a pointer to
   327	 *     the hid_blacklist entry associated with that device.
   328	 *
   329	 * Returns: pointer if quirk found, or NULL if no quirks found.
   330	 */
   331	static const struct hid_blacklist *usbhid_exists_squirk(const u16 idVendor,
   332			const u16 idProduct)
   333	{
   334		const struct hid_blacklist *bl_entry = NULL;
   335		int n = 0;
   336	
   337		for (; hid_blacklist[n].idVendor; n++)
   338			if (hid_blacklist[n].idVendor == idVendor &&
 > 339				(hid_blacklist[n].idProduct == HID_ANY_ID ||
   340					hid_blacklist[n].idProduct == idProduct))
   341				bl_entry = &hid_blacklist[n];
   342	
   343		if (bl_entry != NULL)
   344			dbg_hid("Found squirk 0x%x for USB HID vendor 0x%hx prod 0x%hx\n",
   345					bl_entry->quirks, bl_entry->idVendor, 
   346					bl_entry->idProduct);
   347		return bl_entry;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] USB: quirks: Fix another ELAN touchscreen Adrien Vergé <adrienverge@gmail.com> - 2015-11-22 05:10 +0100
  Re: [PATCH] USB: quirks: Fix another ELAN touchscreen Jiri Kosina <jikos@kernel.org> - 2015-11-23 16:00 +0100
    Re: [PATCH] USB: quirks: Fix another ELAN touchscreen Adrien Vergé <adrienverge@gmail.com> - 2015-11-23 18:40 +0100
      Re: [PATCH] USB: quirks: Fix another ELAN touchscreen Oliver Neukum <oneukum@suse.com> - 2015-11-24 08:40 +0100
  [PATCH v2] USB: quirks: Fix another ELAN touchscreen Adrien Vergé <adrienverge@gmail.com> - 2015-11-23 18:50 +0100
  [PATCH v3 2/2] USB: quirks: Apply ALWAYS_POLL to all ELAN devices Adrien Vergé <adrienverge@gmail.com> - 2015-11-24 15:00 +0100
    Re: [PATCH v3 2/2] USB: quirks: Apply ALWAYS_POLL to all ELAN devices Benjamin Tissoires <benjamin.tissoires@gmail.com> - 2015-11-24 15:20 +0100
      Re: [PATCH v3 2/2] USB: quirks: Apply ALWAYS_POLL to all ELAN devices Adrien Vergé <adrienverge@gmail.com> - 2015-11-24 15:40 +0100
  [PATCH v3 1/2] USB: quirks: Fix another ELAN touchscreen Adrien Vergé <adrienverge@gmail.com> - 2015-11-24 15:00 +0100
  [PATCH v3 0/2] Fixes for ELAN touchscreens Adrien Vergé <adrienverge@gmail.com> - 2015-11-24 15:00 +0100
  [PATCH v4 0/2] Fixes for ELAN touchscreens Adrien Vergé <adrienverge@gmail.com> - 2015-11-24 16:10 +0100
    [PATCH v4 2/2] USB: quirks: Apply ALWAYS_POLL to all ELAN devices Adrien Vergé <adrienverge@gmail.com> - 2015-11-24 16:10 +0100
      Re: [PATCH v4 2/2] USB: quirks: Apply ALWAYS_POLL to all ELAN devices Benjamin Tissoires <benjamin.tissoires@gmail.com> - 2015-11-24 17:20 +0100
      Re: [PATCH v4 2/2] USB: quirks: Apply ALWAYS_POLL to all ELAN devices kbuild test robot <lkp@intel.com> - 2015-11-24 17:50 +0100
    [PATCH v4 1/2] USB: quirks: Fix another ELAN touchscreen Adrien Vergé <adrienverge@gmail.com> - 2015-11-24 16:10 +0100

csiph-web