Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3837797ybb; Mon, 23 Mar 2020 08:35:40 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsr7C9ayzPmb6kkjRoDBZOyANRKPitkttDn8XrGms1AzeprNusBdMsG+gce0ziu0ox2VlN8 X-Received: by 2002:aca:b1d4:: with SMTP id a203mr17979672oif.91.1584977739499; Mon, 23 Mar 2020 08:35:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584977739; cv=none; d=google.com; s=arc-20160816; b=x302RNOCNL+qhLH/8/+wlVZuvSjCPrEK+C0aqxJeuW3d/Ar/IlIsFABuhMv4KOoWbD jDcDG1NYhqCju2DpTXMEfNTGZGKkt62tOYjD2yoX1uCAZRqoe/mDGFEkCguWAad8kjuD tUknyUSogrfFFz6FIs9qHEx5rSy+lnmbYsMTjWrFVD6PxvFGyiwJgBKVvy3rv2E7Q1Ut 7+9WLNZ4Mvh/LyJVAJyi17oDDEIeBPM/39Zp/GMNULrrKh2q9VKiGtSg5ezgNehjuWKW g2IVa6F9HCRIKmQ4kM17EltCTLmD4uu7CZ/vUj2VofoPP2e0FwiOQcvUnQKgXw7ilFX9 6HBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=lHA6NHdkB+Tv4kHa1G52eJOCYosea4sDAyyXOo4Po2E=; b=wsBOquqxxtNXBkQDIRC9nbgdXhzLxo1qNFa0j2IiPUYQgxYfKVnqLlsh/RevPx0qZe 2KJ+Y34WGN2kAVAlmOzdlIFa4weaVi80YRQG9u0KR0jfV0mcHwZVTZbyB4eAClHh891o o3uf5jS3BC7DK/l6zbvDSv3renmgsHC9BlPEBSoglBs/gZYlbe4F4gr5oHn+RRn8zcyd 10oQNqiNzTriN/N6U3faswJWnOp+GVeJ6/uJJLgc+atfyVQZFufWj62MAB+HMBaywwuo p+QuEeA/qvVobU74/AKEQr60ih4eabqCQkEuz+rjSfYEIc6yy5SnXPbUPcYYApFhmyHI 4kMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ajtBK9vv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s13si8458634otg.35.2020.03.23.08.35.26; Mon, 23 Mar 2020 08:35:39 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=ajtBK9vv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727337AbgCWPei (ORCPT + 99 others); Mon, 23 Mar 2020 11:34:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:39476 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727313AbgCWPeh (ORCPT ); Mon, 23 Mar 2020 11:34:37 -0400 Received: from localhost (unknown [122.178.205.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3BD3420409; Mon, 23 Mar 2020 15:34:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584977677; bh=DInxYfQiqRHYOI49FnJU7I3F0DNh7c3v5Bpu42/3e3I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ajtBK9vv0Y1kOS5LD73f0LwYvfdJazjc48yA+RBjA3u0z4XYGlBcdSv30C5jS8pHF aRSLe27s3d07J1yjI1zuKf/bEkTtRHIrbI1aDwbF1+mJnFkhadh3x1BKg6MQdmOUYQ kTbeFrvz44s25BzjcYDv1V1GWwJ6E8gztCdGC+6M= Date: Mon, 23 Mar 2020 21:04:29 +0530 From: Vinod Koul To: kbuild test robot Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, Mathias Nyman , Greg Kroah-Hartman , "linux-arm-msm@vger.kernel.org, Bjorn Andersson" , Yoshihiro Shimoda , Christian Lamparter , John Stultz , Alan Stern , Andreas =?iso-8859-1?Q?B=F6hler?= , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Mathias Nyman Subject: Re: [PATCH v7 1/5] usb: hci: add hc_driver as argument for usb_hcd_pci_probe Message-ID: <20200323153429.GR72691@vkoul-mobl> References: <20200323101121.243906-2-vkoul@kernel.org> <202003232207.IGeWbiPn%lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202003232207.IGeWbiPn%lkp@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23-03-20, 22:49, kbuild test robot wrote: > Hi Vinod, > > I love your patch! Yet something to improve: Thanks for the report. > [auto build test ERROR on v5.6-rc7] > [also build test ERROR on next-20200323] > [cannot apply to usb/usb-testing] > [if your patch is applied to the wrong git tree, please drop us a note to help > improve the system. BTW, we also suggest to use '--base' option to specify the > base tree in git format-patch, please see https://stackoverflow.com/a/37406982] > > url: https://github.com/0day-ci/linux/commits/Vinod-Koul/usb-xhci-Add-support-for-Renesas-USB-controllers/20200323-203447 > base: 16fbf79b0f83bc752cee8589279f1ebfe57b3b6e > config: x86_64-defconfig (attached as .config) > compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 006244152d6c7dd6a390ff89b236cc7801834b46) > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > COMPILER=clang make.cross ARCH=x86_64 > > If you fix the issue, kindly add following tag > Reported-by: kbuild test robot > > All errors (new ones prefixed by >>): > > In file included from drivers/usb/host/uhci-hcd.c:847: > >> drivers/usb/host/uhci-pci.c:297:36: error: passing 'const struct hc_driver *' to parameter of type 'struct hc_driver *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] > return usb_hcd_pci_probe(dev, id, &uhci_driver); > ^~~~~~~~~~~~ > include/linux/usb/hcd.h:483:27: note: passing argument to parameter 'driver' here > struct hc_driver *driver); I need to drop the const qualifiers for uhci_driver, I have checked that and will send v8 with this fix -- ~Vinod