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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DA1C0C433EF for ; Sun, 20 Feb 2022 22:57:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=nRi2e2csw2gFxo3LOadYJX9agThjDpZHCHzkrqu3VHE=; b=XFAiLEOG11DH5z awIXHK6eG34R41/fcV+SQxs8z8S6JKAufwgg6G0k1HcR8Tv4IQjvhNDPXo6Zomh47AuejK0dlStcN o5WUvRtBwYOCX6y4eiLGVyfXyw0tk2HHE78rB64ZFgeQhO0D0HRBmmiMH97/qoWu99vTA/quf5BBP ZasvrBJtT+8JufFdas+/odMQ1Rozv7L17TYcJMgIiVamX9yCtIzZMYrVkqj4zGeBlSYsX6yKlPdZk y1mPjQV8CdKFhBEfJirp4ZruLp7b+TKjf31Uz9WIA2XFurraCwS9qe9xuRnWJLv9kUg+bbXpAkVKT /xy4+BKImLLq6IxXAnWg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nLv7b-002ZgV-Gv; Sun, 20 Feb 2022 22:56:03 +0000 Received: from mga07.intel.com ([134.134.136.100]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nLv7Y-002Zfr-2E for linux-arm-kernel@lists.infradead.org; Sun, 20 Feb 2022 22:56:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645397760; x=1676933760; h=date:from:to:cc:subject:message-id:mime-version; bh=sE/ucxKyyIB7/HacY0Hqd8DR98TaJD6jjjsY1Llb3nk=; b=OnBGt6uFlUOVxwYs3TnSdODz+4hLWZ2SoQtLxUAUPIh4Dxge1eVNkIGO 4qzvav8xjJWxAFxTILyJyaA5DkeTSwNmFXFqvpjBLuj7hcItgzNXDjo9i 3fxEVzzr58uacpN/AtxF2neIYUbynwEzn++zFQmVcYWNa4RkQnMYyGeQz CzEEi22/A2FOncAbmuAMD1OGc9+s1f66aM5D5hOdY5AMwHh4sUbwsi52K 0H8vAtc1sQS2EnGhdW86VvUezNexzjpJ9+xl6ZR1eTSm40+0VOj3GsGah S0fLd5Y8bYY4+OoyWP0GTpnOedDxwRck1DW/yQo0sKx9aSxpYw3tX9eKe Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10264"; a="314671617" X-IronPort-AV: E=Sophos;i="5.88,384,1635231600"; d="scan'208";a="314671617" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2022 14:55:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,384,1635231600"; d="scan'208";a="507426857" Received: from lkp-server01.sh.intel.com (HELO da3212ac2f54) ([10.239.97.150]) by orsmga006.jf.intel.com with ESMTP; 20 Feb 2022 14:55:56 -0800 Received: from kbuild by da3212ac2f54 with local (Exim 4.92) (envelope-from ) id 1nLv7U-0000ym-3r; Sun, 20 Feb 2022 22:55:56 +0000 Date: Mon, 21 Feb 2022 06:55:40 +0800 From: kernel test robot To: Piyush Mehta Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org, Michal Simek Subject: [xilinx-xlnx:master 156/556] drivers/usb/dwc3/dwc3-xilinx.c:509:6: warning: no previous prototype for function 'dwc3_xilinx_wakeup_capable' Message-ID: <202202210653.27JMaMlu-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220220_145600_186853_6FF938F3 X-CRM114-Status: GOOD ( 13.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org tree: https://github.com/Xilinx/linux-xlnx master head: 0293811d1fb48202f60d63799ec58c3e44f83a55 commit: 6e383f53627b34b9aa1f149720de25f55b199d37 [156/556] usb: dwc3: Added remote wake-up in xilinx glue driver config: arm64-randconfig-r031-20220220 (https://download.01.org/0day-ci/archive/20220221/202202210653.27JMaMlu-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/Xilinx/linux-xlnx/commit/6e383f53627b34b9aa1f149720de25f55b199d37 git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx git fetch --no-tags xilinx-xlnx master git checkout 6e383f53627b34b9aa1f149720de25f55b199d37 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/usb/dwc3/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/usb/dwc3/dwc3-xilinx.c:509:6: warning: no previous prototype for function 'dwc3_xilinx_wakeup_capable' [-Wmissing-prototypes] void dwc3_xilinx_wakeup_capable(struct device *dev, bool wakeup) ^ drivers/usb/dwc3/dwc3-xilinx.c:509:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void dwc3_xilinx_wakeup_capable(struct device *dev, bool wakeup) ^ static 1 warning generated. vim +/dwc3_xilinx_wakeup_capable +509 drivers/usb/dwc3/dwc3-xilinx.c 507 508 /* xilinx feature support functions */ > 509 void dwc3_xilinx_wakeup_capable(struct device *dev, bool wakeup) 510 { 511 struct device_node *node = of_node_get(dev->parent->of_node); 512 513 /* check for valid parent node */ 514 while (node) { 515 if (of_device_is_compatible(node, "xlnx,zynqmp-dwc3") || 516 of_device_is_compatible(node, "xlnx,versal-dwc3")) 517 break; 518 519 /* get the next parent node */ 520 node = of_get_next_parent(node); 521 } 522 523 if (node) { 524 struct platform_device *pdev_parent; 525 struct dwc3_xlnx *priv_data; 526 527 pdev_parent = of_find_device_by_node(node); 528 priv_data = platform_get_drvdata(pdev_parent); 529 530 /* Set wakeup capable as true or false */ 531 priv_data->wakeup_capable = wakeup; 532 533 /* Allow D3 state if wakeup capable only */ 534 priv_data->enable_d3_suspend = wakeup; 535 } 536 } 537 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel