Received: by 10.223.185.116 with SMTP id b49csp2700693wrg; Mon, 5 Mar 2018 07:22:32 -0800 (PST) X-Google-Smtp-Source: AG47ELvLXWXghmTyKlRjxLJjCNYsI19Jl93RnnoGjDuxq8TU6uKdkb8zU7hfdKbQmqltGaXJA06C X-Received: by 10.99.152.10 with SMTP id q10mr7151300pgd.62.1520263352614; Mon, 05 Mar 2018 07:22:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520263352; cv=none; d=google.com; s=arc-20160816; b=AsCIRWu2NGFpXBf/lltPMJAZxvyvbejaKCq7QtQvXhjDceCwAQ5HtCeufEcpdNl3r8 ZDMzV9qIMGv0HfB/pL6lRBBVUB51H/Oxop7lWPT4rDDZbeZfGPskgRpO4gfSZT/KG3Da lV7+8vua3HrcG34hzXM9vC+cxcbZRukvOnAh6KoiFqFRbw517zllEsrsUlwMApTM+QGv LgVIVpGsFZfb4GhqGlfozGYi46N+aE1Yf6UIkXkdWIyO+3D5AzdJ+6e8CqyAkA3YtdFL 51TL8JZ4KS6AyF0Iyf9YWe4B7JGH30xqUQSVhm92wIPMlTQ74N3/fq8NT/DQ2ClEVQpI lzbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=DLGznFd4QxPbY4tgb4KvF4kLF5AR5CyJCIXoaKkeKpQ=; b=IRbOp05d0TAlsA6lO/oMScN43EcfCGNO4bDoN3Q7nJLIRRRE860EA8eAsxJfTv5VOw UcJADbBpDb83nZnGtLiJecUASyXor+Qvi8sTH0or2FhAfLKOueWTGAYbDAXRCb6o5qN5 DRUmMe0+nOhzd9atPk7RhUj2E91Ah15nAx4SxvEnVXZ1Est1PX0gC7kWKo/U9MmCvxDc S/R96aoonOTOvYJvNBgZul3CU9iv2ym0vkdop2Wxnfnmy0jkPwxIt6i0x4Wwkrz6Avr8 7mnJBJjGqQzvL5Xix6JFjTSlk7Dpj3siqd3c6SDcYjBp6kYiygtfuIpLVgXcWS1K2OXn 0E1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b9si10319202pfm.327.2018.03.05.07.22.17; Mon, 05 Mar 2018 07:22:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752144AbeCEPVH (ORCPT + 99 others); Mon, 5 Mar 2018 10:21:07 -0500 Received: from mga05.intel.com ([192.55.52.43]:27876 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751144AbeCEPVE (ORCPT ); Mon, 5 Mar 2018 10:21:04 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Mar 2018 07:21:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,427,1515484800"; d="scan'208";a="31498688" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by FMSMGA003.fm.intel.com with ESMTP; 05 Mar 2018 07:21:02 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1ess2C-000G1m-Vw; Mon, 05 Mar 2018 23:28:17 +0800 Date: Mon, 5 Mar 2018 23:20:14 +0800 From: kbuild test robot To: Florent Flament Cc: kbuild-all@01.org, andy.shevchenko@gmail.com, jikos@kernel.org, benjamin.tissoires@redhat.com, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, Florent Flament Subject: Re: [PATCH v2 1/1] HID: Logitech K290: Add driver for the Logitech K290 USB keyboard Message-ID: <201803052207.4oLBFRZp%fengguang.wu@intel.com> References: <20180304221425.28611-2-contact@florentflament.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180304221425.28611-2-contact@florentflament.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Florent, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on hid/for-next] [also build test WARNING on v4.16-rc4 next-20180305] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Florent-Flament/Logitech-K290-Add-driver-for-the-Logitech-K290-USB-keyboard/20180305-153311 base: https://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-next reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> drivers/hid/hid-logitech-k290.c:54:46: sparse: Using plain integer as NULL pointer vim +54 drivers/hid/hid-logitech-k290.c 45 46 static void k290_set_function(struct usb_device *dev, uint16_t function_mode) 47 { 48 int ret; 49 50 ret = usb_control_msg(dev, usb_sndctrlpipe(dev, 0), 51 K290_SET_FUNCTION_CMD, 52 USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE, 53 K290_SET_FUNCTION_VAL, > 54 function_mode, 0, 0, USB_CTRL_SET_TIMEOUT); 55 56 if (ret < 0) 57 dev_err(&dev->dev, 58 "Failed to setup K290 function key, error %d\n", ret); 59 } 60 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation