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 563DBC433EF for ; Fri, 13 May 2022 23:58:57 +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=blEl7PPxTHb7ovv441Pjsgc5ueexQEHH69a8Wz2sT8U=; b=YX/Mu4gegc+Zqt 2svPGrQ8FlcCm+jSYsPwoY2tXyDaKJL4UeyyValJ/+Cs0jQroLjNh2IqVjASjsM0zzBD67Mx74iDP AtOxiG0x1YpjC6IB8Q7txXyc9wKzW9tqD81eoefCm3mzEeN+qikrwF94itfvAGOHh4CvWPsV82weV LTBE3pl5M8wjfcRgz+30VqDBbqTtNNe2difQfdJ9jrTYe4gE9iF30hY4qPXBehAZncN2QSMhfB1uU 6Az6Y9Sm1Gz+wF9puYursaOC98c8L0W/AukSRLWQEppC0rdUHRnbV5i/OXV9+0+IVu7HbZr49YwWV 61E9bAFfh9hPWmqCzApQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1npfA5-000N0d-D5; Fri, 13 May 2022 23:57:33 +0000 Received: from mga05.intel.com ([192.55.52.43]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1npfA2-000N0K-9V for linux-arm-kernel@lists.infradead.org; Fri, 13 May 2022 23:57:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652486250; x=1684022250; h=date:from:to:cc:subject:message-id:mime-version; bh=UHb+Z3gXa3pZmXHcXfu/0b/a5HtzS/8HbYUNrVPuelU=; b=M/LbJRpajxI54JmCv/e2FvjOra+G3hdtb9PEeB0CvNizGRDODtZhGika 5dk9+I4sqC9ElkVqU5mDoo3LSlbZn4GaRBdOJHxEr1r7plimVMzXzdVaJ yI2QISDq/1+tRktLfjJFi4dOiEoBG3bpreqWuVKYWextAUYzWB8W2vqhH nwK+ajFpkN5QAqn+PDRSV/fMsvVDE4vfzLADikaeZc2BUtmJREHcpa8CV tmhPmbjVXFLYqkQXacjZaHhlF9z4ac+We4fIJnBwOzpcaiCd/7B79taJz lkUzjF6wsI7QjqAzpI1+8GuEq+QRCkXcHzkvN8xwJJpIo+EfE8iDOtbRG g==; X-IronPort-AV: E=McAfee;i="6400,9594,10346"; a="356861804" X-IronPort-AV: E=Sophos;i="5.91,223,1647327600"; d="scan'208";a="356861804" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 May 2022 16:57:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,223,1647327600"; d="scan'208";a="521624917" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 13 May 2022 16:57:25 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1npf9w-000MEK-E5; Fri, 13 May 2022 23:57:24 +0000 Date: Sat, 14 May 2022 07:56:52 +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 , Manish Narani Subject: [xilinx-xlnx:xlnx_rebase_v5.15_LTS_2022.1_update 404/1093] drivers/usb/dwc3/dwc3-xilinx.c:508:6: warning: no previous prototype for function 'dwc3_xilinx_wakeup_capable' Message-ID: <202205140742.L4RaDuSY-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220513_165730_430177_39240A0F X-CRM114-Status: GOOD ( 12.99 ) 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 Hi Piyush, FYI, the error/warning still remains. tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS_2022.1_update head: 5ead03b6e64b5072737c653bb20ebcd88704e3d1 commit: db6b55a74c709a27fdf6d175f890568dc8945424 [404/1093] usb: dwc3: Added remote wake-up in xilinx glue driver config: arm64-randconfig-r031-20220512 (https://download.01.org/0day-ci/archive/20220514/202205140742.L4RaDuSY-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 38189438b69ca27b4c6ce707c52dbd217583d046) 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/db6b55a74c709a27fdf6d175f890568dc8945424 git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15_LTS_2022.1_update git checkout db6b55a74c709a27fdf6d175f890568dc8945424 # save the config file mkdir build_dir && cp config build_dir/.config 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:508: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:508: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 +508 drivers/usb/dwc3/dwc3-xilinx.c 506 507 /* xilinx feature support functions */ > 508 void dwc3_xilinx_wakeup_capable(struct device *dev, bool wakeup) 509 { 510 struct device_node *node = of_node_get(dev->parent->of_node); 511 512 /* check for valid parent node */ 513 while (node) { 514 if (of_device_is_compatible(node, "xlnx,zynqmp-dwc3") || 515 of_device_is_compatible(node, "xlnx,versal-dwc3")) 516 break; 517 518 /* get the next parent node */ 519 node = of_get_next_parent(node); 520 } 521 522 if (node) { 523 struct platform_device *pdev_parent; 524 struct dwc3_xlnx *priv_data; 525 526 pdev_parent = of_find_device_by_node(node); 527 priv_data = platform_get_drvdata(pdev_parent); 528 529 /* Set wakeup capable as true or false */ 530 priv_data->wakeup_capable = wakeup; 531 532 /* Allow D3 state if wakeup capable only */ 533 priv_data->enable_d3_suspend = wakeup; 534 } 535 } 536 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel