From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5D3C2C3F2CD for ; Mon, 23 Mar 2020 15:34:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 312A3206C3 for ; Mon, 23 Mar 2020 15:34:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584977681; bh=DInxYfQiqRHYOI49FnJU7I3F0DNh7c3v5Bpu42/3e3I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=RMsU2D/cQZm+SGYfuezGu5tYdOJMyWr+vX+ComGDZNPe5NPE+93NbIxvuTveQli6O PHqnjRnC1o7FXlPmJhdxmUiZHopKekos/CXkXAadB8+fWiTPe6wuLGJoBZ8M4R2Ai1 nPn0lAlUpaKfTxgtYG45SAm06B6VXZVstTBVaIl4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727321AbgCWPei (ORCPT ); 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-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@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