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 E34BDE6FE55 for ; Sat, 7 Sep 2024 10:03:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=5buIdyzf5Dr312bRyeLDY2N/Pbd7iRNiIvE+7CSGxUE=; b=Kkj53OAoUndOO+/xcfcdbvID22 5x62wxyl2XyzXHB7sHdOwWuqdHQyat4O5TEqupdVzs9xK30stYd1zrWGkwasGd2xWKPYQId/vA23N wA19AnOjRULrs3aH4DtuvGOPwm0R5DGOVnz5iSx+U4QatWeO+sOrXfeINi+L+712M7vNsGrWMqx6Q 1RuZxqP8rg0S4nU6u6AYCXRyp6IwJd3nHKK4r5s2HNfjoBQeWsff4kjZR+Yq646bUnuEeCTsZ7eKK dGqdnYh96q+idE5mShq/ig7pl2Fx/kBci1mRA/XyyVWE8MEG2CzI2hiCPstDFL6M//XRrE4aVSOuY a98UgbIw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1smsHw-0000000Eo2W-0ZSm; Sat, 07 Sep 2024 10:03:28 +0000 Received: from mgamail.intel.com ([198.175.65.19]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1smsGv-0000000EnsO-2JC8 for linux-arm-kernel@lists.infradead.org; Sat, 07 Sep 2024 10:02:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1725703346; x=1757239346; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=+8ndftcpr710lyIszgV8c95AAh8cy/KDHvOC47Z5jY8=; b=ceS1zGePdpnamEoU1tLXVrD40O7T/7QgTfP6fMrrqJlSCEOxVxuhmgvb ilAXpDK4u1LM39zgKEMv2O/7Gfpk66qKAY0NCYzOabrJXrLJyOkR9Psme XMwNen649z9I3kfzBayZOrJZjv6JlbCgoqPXA1UXWIy6M1ECYx8fagwsk K5JdtrszV1Y5/kVSslOsxUHONcbUDTZY8jT32pDDIuul57VBPbIHZGmmC pXMU2ba2NXBG0aESC/Z3jjHVBwahuko9cVs5czcKYEEAxMzvWZ3Ott7XC fHN0Kx0R/D1y2fBFe97ojPefWGlk3NOUPeTngs3lpNiXTxBzcGcxM3vfn A==; X-CSE-ConnectionGUID: OWhkGQ22Qy+Btlm6PTRMLw== X-CSE-MsgGUID: ziWyKql+QlWZRcpHEyyluQ== X-IronPort-AV: E=McAfee;i="6700,10204,11187"; a="24323053" X-IronPort-AV: E=Sophos;i="6.10,210,1719903600"; d="scan'208";a="24323053" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2024 03:02:24 -0700 X-CSE-ConnectionGUID: /y7E0xneQa+1lRbk+cY5dw== X-CSE-MsgGUID: 5pZQbW8lSiai6JaiI7i3Sg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,210,1719903600"; d="scan'208";a="103648425" Received: from lkp-server01.sh.intel.com (HELO 9c6b1c7d3b50) ([10.239.97.150]) by orviesa001.jf.intel.com with ESMTP; 07 Sep 2024 03:02:20 -0700 Received: from kbuild by 9c6b1c7d3b50 with local (Exim 4.96) (envelope-from ) id 1smsGn-000CPb-2j; Sat, 07 Sep 2024 10:02:17 +0000 Date: Sat, 7 Sep 2024 18:01:24 +0800 From: kernel test robot To: Thippeswamy Havalige , manivannan.sadhasivam@linaro.org, robh@kernel.org, linux-pci@vger.kernel.org, bhelgaas@google.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, bharat.kumar.gogada@amd.com, michal.simek@amd.com, lpieralisi@kernel.org, kw@linux.com, Thippeswamy Havalige Subject: Re: [PATCH 2/2] PCI: xilinx-cpm: Add support for Versal CPM5 Root Port controller-1 Message-ID: <202409071713.wrAI0UuK-lkp@intel.com> References: <20240906093148.830452-3-thippesw@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240906093148.830452-3-thippesw@amd.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240907_030225_668955_061DED36 X-CRM114-Status: GOOD ( 17.59 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Thippeswamy, kernel test robot noticed the following build warnings: [auto build test WARNING on pci/next] [also build test WARNING on pci/for-linus mani-mhi/mhi-next robh/for-next linus/master v6.11-rc6 next-20240906] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Thippeswamy-Havalige/dt-bindings-PCI-xilinx-cpm-Add-compatible-string-for-CPM5-controller-1/20240906-173446 base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next patch link: https://lore.kernel.org/r/20240906093148.830452-3-thippesw%40amd.com patch subject: [PATCH 2/2] PCI: xilinx-cpm: Add support for Versal CPM5 Root Port controller-1 config: um-allyesconfig (https://download.01.org/0day-ci/archive/20240907/202409071713.wrAI0UuK-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240907/202409071713.wrAI0UuK-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202409071713.wrAI0UuK-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/pci/controller/pcie-xilinx-cpm.c: In function 'xilinx_cpm_pcie_event_flow': drivers/pci/controller/pcie-xilinx-cpm.c:292:44: error: 'CPM5_HOST1' undeclared (first use in this function) 292 | else if (port->variant->version == CPM5_HOST1) { | ^~~~~~~~~~ drivers/pci/controller/pcie-xilinx-cpm.c:292:44: note: each undeclared identifier is reported only once for each function it appears in drivers/pci/controller/pcie-xilinx-cpm.c: In function 'xilinx_cpm_pcie_init_port': drivers/pci/controller/pcie-xilinx-cpm.c:504:44: error: 'CPM5_HOST1' undeclared (first use in this function) 504 | else if (port->variant->version == CPM5_HOST1) { | ^~~~~~~~~~ drivers/pci/controller/pcie-xilinx-cpm.c: At top level: drivers/pci/controller/pcie-xilinx-cpm.c:635:40: error: redefinition of 'cpm5_host' 635 | static const struct xilinx_cpm_variant cpm5_host = { | ^~~~~~~~~ drivers/pci/controller/pcie-xilinx-cpm.c:631:40: note: previous definition of 'cpm5_host' with type 'const struct xilinx_cpm_variant' 631 | static const struct xilinx_cpm_variant cpm5_host = { | ^~~~~~~~~ drivers/pci/controller/pcie-xilinx-cpm.c:636:20: error: 'CPM5_HOST1' undeclared here (not in a function) 636 | .version = CPM5_HOST1, | ^~~~~~~~~~ drivers/pci/controller/pcie-xilinx-cpm.c:650:26: error: 'cpm5_host1' undeclared here (not in a function); did you mean 'cpm5_host'? 650 | .data = &cpm5_host1, | ^~~~~~~~~~ | cpm5_host >> drivers/pci/controller/pcie-xilinx-cpm.c:631:40: warning: 'cpm5_host' defined but not used [-Wunused-const-variable=] 631 | static const struct xilinx_cpm_variant cpm5_host = { | ^~~~~~~~~ vim +/cpm5_host +631 drivers/pci/controller/pcie-xilinx-cpm.c 51f1ffc00d95e3 Bharat Kumar Gogada 2022-07-05 630 51f1ffc00d95e3 Bharat Kumar Gogada 2022-07-05 @631 static const struct xilinx_cpm_variant cpm5_host = { 51f1ffc00d95e3 Bharat Kumar Gogada 2022-07-05 632 .version = CPM5, 51f1ffc00d95e3 Bharat Kumar Gogada 2022-07-05 633 }; 51f1ffc00d95e3 Bharat Kumar Gogada 2022-07-05 634 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki