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 F3BC4C433F5 for ; Wed, 6 Apr 2022 18:03:38 +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=oweduyLLIkVmgM4qif6gPag/oDxWxEjr8L+W35uI11c=; b=mdcuY1XgFlzaS0 nhMJhG13toj8fH/X0C+GMFZ1A3bDatTgtpoXSxpqLJylG9mVJ3oz54yt4xrW5hmJNaI7VVKeuJvHZ qN3ANWDhc5qqV+NzaOXVqqSnCD3DUIn/Bt50qwBKiK7TdftOV5I1RJENHzaTIgdon6WR3cP0W7IU3 qXirixWadzzx4EuyV/9hAN07QNmWbjx1M38i6exM/i2JGZuY4hzIkWOkD1Rcn6iF6SFOYG2ix/IzX CLz86IO7+RGF4d7kgryNFjt2Mnvf6/bQ/3+70vwStqfNPWFRsKcVDPD3OX263DgAk0CfFCkGib9C/ tERnJr8umzptiKqS4DCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nc9zA-007RZX-5Z; Wed, 06 Apr 2022 18:02:28 +0000 Received: from mga01.intel.com ([192.55.52.88]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nc9z6-007RYy-Ev for linux-arm-kernel@lists.infradead.org; Wed, 06 Apr 2022 18:02:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649268144; x=1680804144; h=date:from:to:cc:subject:message-id:mime-version; bh=BufN/J50qfglvwsoEU/JyicOUlOps/pgjdq3YGlWrCU=; b=g3IMFlA5do3MiTd7sLI5tTR5p7ii+/9TSDzfWlX+N9x183pI+PCtxput 5di6DcwaCIlSxEdBnjY6muOGhgfGyniwmFAFnRjYTZ3WykPYKZzIlRJXU WjvVbQ30xskUoby/DX+QoHUD/0UKe4rmpSY1uLQOH3yjwvcY5LEXBiPAa lrUgY4lV3spIkAGIZDlWBgu3Of/yFNRC8bkvamBL1I2pNlOUVLapqQI7k QPpUotC7JXClTTzQPu3DqDVn73W4yUK/B+Oeoe/poyrFIFtyolUKaBlHe N8d6SFNYlmdImB7qPKuCBEr5tw+u8nKsSqQlXUpI7NvAoZI9COFytcKJP g==; X-IronPort-AV: E=McAfee;i="6200,9189,10309"; a="286092701" X-IronPort-AV: E=Sophos;i="5.90,240,1643702400"; d="scan'208";a="286092701" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2022 11:02:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,240,1643702400"; d="scan'208";a="722618995" Received: from lkp-server02.sh.intel.com (HELO a44fdfb70b94) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 06 Apr 2022 11:02:13 -0700 Received: from kbuild by a44fdfb70b94 with local (Exim 4.95) (envelope-from ) id 1nc9yv-0004dv-14; Wed, 06 Apr 2022 18:02:13 +0000 Date: Thu, 7 Apr 2022 02:02:06 +0800 From: kernel test robot To: Manish Narani Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org, Michal Simek Subject: [xilinx-xlnx:xlnx_rebase_v5.15 395/1080] drivers/usb/dwc3/otg.c:41: warning: expecting prototype for otg.c(). Prototype was for print_debug_regs() instead Message-ID: <202204070159.hjK0zEBD-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-20220406_110224_624908_E4A9A60C X-CRM114-Status: GOOD ( 11.81 ) 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 xlnx_rebase_v5.15 head: 6474115d882fd9e82731ac2473875dc3e8ac9acc commit: 833d0bbedec04953df2320fd9098ac2108b1affd [395/1080] usb: dwc3: Fix OTG driver to work with v5.10 kernel config: sparc-randconfig-r032-20220406 (https://download.01.org/0day-ci/archive/20220407/202204070159.hjK0zEBD-lkp@intel.com/config) compiler: sparc64-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/833d0bbedec04953df2320fd9098ac2108b1affd git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15 git checkout 833d0bbedec04953df2320fd9098ac2108b1affd # 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=sparc 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/otg.c:41: warning: Function parameter or member 'otg' not described in 'print_debug_regs' >> drivers/usb/dwc3/otg.c:41: warning: expecting prototype for otg.c(). Prototype was for print_debug_regs() instead vim +41 drivers/usb/dwc3/otg.c d50e8d7c931f49 Piyush Mehta 2022-01-26 38 d50e8d7c931f49 Piyush Mehta 2022-01-26 39 /* Print the hardware registers' value for debugging purpose */ d50e8d7c931f49 Piyush Mehta 2022-01-26 40 static void print_debug_regs(struct dwc3_otg *otg) d50e8d7c931f49 Piyush Mehta 2022-01-26 @41 { d50e8d7c931f49 Piyush Mehta 2022-01-26 42 u32 gctl = otg_read(otg, DWC3_GCTL); d50e8d7c931f49 Piyush Mehta 2022-01-26 43 u32 gsts = otg_read(otg, DWC3_GSTS); d50e8d7c931f49 Piyush Mehta 2022-01-26 44 u32 gdbgltssm = otg_read(otg, DWC3_GDBGLTSSM); d50e8d7c931f49 Piyush Mehta 2022-01-26 45 u32 gusb2phycfg0 = otg_read(otg, DWC3_GUSB2PHYCFG(0)); d50e8d7c931f49 Piyush Mehta 2022-01-26 46 u32 gusb3pipectl0 = otg_read(otg, DWC3_GUSB3PIPECTL(0)); d50e8d7c931f49 Piyush Mehta 2022-01-26 47 u32 dcfg = otg_read(otg, DWC3_DCFG); d50e8d7c931f49 Piyush Mehta 2022-01-26 48 u32 dctl = otg_read(otg, DWC3_DCTL); d50e8d7c931f49 Piyush Mehta 2022-01-26 49 u32 dsts = otg_read(otg, DWC3_DSTS); d50e8d7c931f49 Piyush Mehta 2022-01-26 50 u32 ocfg = otg_read(otg, OCFG); d50e8d7c931f49 Piyush Mehta 2022-01-26 51 u32 octl = otg_read(otg, OCTL); d50e8d7c931f49 Piyush Mehta 2022-01-26 52 u32 oevt = otg_read(otg, OEVT); d50e8d7c931f49 Piyush Mehta 2022-01-26 53 u32 oevten = otg_read(otg, OEVTEN); d50e8d7c931f49 Piyush Mehta 2022-01-26 54 u32 osts = otg_read(otg, OSTS); d50e8d7c931f49 Piyush Mehta 2022-01-26 55 d50e8d7c931f49 Piyush Mehta 2022-01-26 56 otg_info(otg, "gctl = %08x\n", gctl); d50e8d7c931f49 Piyush Mehta 2022-01-26 57 otg_info(otg, "gsts = %08x\n", gsts); d50e8d7c931f49 Piyush Mehta 2022-01-26 58 otg_info(otg, "gdbgltssm = %08x\n", gdbgltssm); d50e8d7c931f49 Piyush Mehta 2022-01-26 59 otg_info(otg, "gusb2phycfg0 = %08x\n", gusb2phycfg0); d50e8d7c931f49 Piyush Mehta 2022-01-26 60 otg_info(otg, "gusb3pipectl0 = %08x\n", gusb3pipectl0); d50e8d7c931f49 Piyush Mehta 2022-01-26 61 otg_info(otg, "dcfg = %08x\n", dcfg); d50e8d7c931f49 Piyush Mehta 2022-01-26 62 otg_info(otg, "dctl = %08x\n", dctl); d50e8d7c931f49 Piyush Mehta 2022-01-26 63 otg_info(otg, "dsts = %08x\n", dsts); d50e8d7c931f49 Piyush Mehta 2022-01-26 64 otg_info(otg, "ocfg = %08x\n", ocfg); d50e8d7c931f49 Piyush Mehta 2022-01-26 65 otg_info(otg, "octl = %08x\n", octl); d50e8d7c931f49 Piyush Mehta 2022-01-26 66 otg_info(otg, "oevt = %08x\n", oevt); d50e8d7c931f49 Piyush Mehta 2022-01-26 67 otg_info(otg, "oevten = %08x\n", oevten); d50e8d7c931f49 Piyush Mehta 2022-01-26 68 otg_info(otg, "osts = %08x\n", osts); d50e8d7c931f49 Piyush Mehta 2022-01-26 69 } d50e8d7c931f49 Piyush Mehta 2022-01-26 70 :::::: The code at line 41 was first introduced by commit :::::: d50e8d7c931f49b3c396fd2aa71dc6f76604f61d usb: dwc3: otg: fix broken OTG HNP feature :::::: TO: Piyush Mehta :::::: CC: Michal Simek -- 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