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 29D23C433F5 for ; Mon, 10 Jan 2022 18:30:42 +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=AFs81oLgJ21zLlzcQlCGj9vcpqoOoyeOnR2we4cOE8E=; b=Fddi1WjN9r8u70 Xn6G853a/mMwkfFVy4v4wWyXmOCVNCrSOLPq1T1aVtUdV3Niy8s1s+Gm1h1sWpMOWwVzuvWOs+lYe GjPaTQlaqiPDcSK11CUJVAjhAKU7LX0ugF+FDKKFbMpnf4JiVOFjAVCj8xOT2z/itmGN/hI4RwBaq 7KyiUqZ1N4oFJYD/XN0Rfs5121L+RybiFQJfffK0bSQldptNVCYdA1kSqHI0OaanAJWr15Ngt2vy7 rLgxA1or3teEwa9n4QFtqXK7zUuOTsj8dKGG530/tI0lmlTEkEeeRnaLb01mamF/625eIZUXhOQgF gYpnyktImG/h+r4hGFLg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n6zQ4-00Ckus-AK; Mon, 10 Jan 2022 18:29:25 +0000 Received: from mga11.intel.com ([192.55.52.93]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n6zPy-00Ckn3-Kg for linux-arm-kernel@lists.infradead.org; Mon, 10 Jan 2022 18:29:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1641839358; x=1673375358; h=date:from:to:cc:subject:message-id:mime-version; bh=Z69efeteFzu2oAfTH6VNU9ZvUst6Nj8fB17Z3gU0370=; b=QneAd21fLhDMozttR3kkGDCZEnC2SwdMtP0QYN2j0r0XhJmSk2/YJNTd oGE8lOMVlK5GLbgz7emvXAvOoiwdxv8j46UnUAg98IAMmuuXGrNvvj/VM xyBj3TsNiAl4BT3u2FJ7vrFtttJD1jWgKXb4RtJUyikiMboaamqvIFeVF DKHuZIXDmBPo3eZPIbOXD3PIsM3MHPeMgMGSkgXeATLdI311agWXWqbj7 p68vt50ZAD2iw1Nbq7DvsaRsR2xL4qO2UFy7dfIYeQ39vESBjESk6RgqN OJJE1hzTZNSL2jHHz73YKUkkdNjIjIgERjrJlq6xsNzjU2p7QIxhANnjR A==; X-IronPort-AV: E=McAfee;i="6200,9189,10222"; a="240841769" X-IronPort-AV: E=Sophos;i="5.88,277,1635231600"; d="scan'208";a="240841769" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jan 2022 10:29:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,277,1635231600"; d="scan'208";a="690668559" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 10 Jan 2022 10:29:09 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1n6zPo-0003pi-EI; Mon, 10 Jan 2022 18:29:08 +0000 Date: Tue, 11 Jan 2022 02:29:00 +0800 From: kernel test robot To: Piyush Mehta Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org, Michal Simek Subject: [xilinx-xlnx:master 156/279] drivers/usb/dwc3/dwc3-xilinx.c:509:6: warning: no previous prototype for 'dwc3_xilinx_wakeup_capable' Message-ID: <202201110205.SGifrSgE-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-20220110_102918_759550_C28C80B2 X-CRM114-Status: GOOD ( 14.69 ) 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 master head: 2f2b644138b37e22206a72377828c457f3f4d590 commit: 6e383f53627b34b9aa1f149720de25f55b199d37 [156/279] usb: dwc3: Added remote wake-up in xilinx glue driver config: arm64-defconfig (https://download.01.org/0day-ci/archive/20220111/202201110205.SGifrSgE-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 11.2.0 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 # 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=gcc-11.2.0 make.cross 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 'dwc3_xilinx_wakeup_capable' [-Wmissing-prototypes] 509 | void dwc3_xilinx_wakeup_capable(struct device *dev, bool wakeup) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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