Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp241770lqh; Fri, 3 May 2024 22:31:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWq8iIb0x9sJzBfgMpfDa9BV0ZMOP3Uxsra099H8QqbZseeR6Fc/3oDBrL33StLZJTQtZQ9dZIkxoR3LE/x/wJnXmrMrf4x+rYMvM6d0A== X-Google-Smtp-Source: AGHT+IEUYghz+sF7CxnEknih8NOzfZGmtJZuzONhk5HWWrQAq1sjmBOLbCG6W2q+xOE1Ir1EL+Mo X-Received: by 2002:a05:620a:5691:b0:78f:19d2:ce9 with SMTP id wg17-20020a05620a569100b0078f19d20ce9mr4293247qkn.57.1714800693342; Fri, 03 May 2024 22:31:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714800693; cv=pass; d=google.com; s=arc-20160816; b=yquCu/QAS/SAz+V8M/XCuqSC/arFLoAxP5CzfZDnFHTPAKdnytnbJd/TncU2ZQs2DN u+QuO819oxrMyAEirSZ7aq91khuRewluLkLSDF7IGbjfqe6gN9th7gAGT+1kv8g5fyU0 d8EPV/4dATSxBJPQv2YUEDf8kYTZQQarXQRP5mKaebVJproRLqcN5vyAXxM2lR9lZ1tX gXb5azrKFWubA9eOSPTeAeIJEO0cNctL1LF++I8VU0xFQs9DTQvI5l27g7PjKWBn/nWo sPHX8o/DPFpNDVAK6xudHh9IeGTrRTzEOkGvC8raM7cB/KvyYkBSGrKSq9A9GUVRfSfu +4mg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ttGy7BiJPTTWyahz+qnEkehc0bGf1RV5nCtaU4PGUYo=; fh=Kqpnkxze8csjP+3bVRkZxHRbaC/2hmsYvqE+VUrDquw=; b=srxDhWl51Qc/UQqsNWr0ytWKLKih1KaV71+Jl0oNhq1F7lVwh/4+Dc/k746mpFLab5 iHWYRE1Ld9XIW/XbRKs9+6fFv7svEANHgZ/Hg47Nklqyh8bAZgkBVxEPdYKeFbU5616u AXO9Les9HxFFIpYmpkjFWRVHmpn/PncX2EuZjsXej2+8PTNAXQof3WBycBCGqsa/QnKW LFy/yWubq4C8YVS6HY40SRrIARPw7HNz8eOcg6vTnGzdnFrFbHR9LncSkGtp0iw2gvB3 2jjgXU76287Na+xJOJNSdUeYPyqYo1BpPaNuPHOn5FMEnRXatHOBdZi0kWjct2/AC9vk K21g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hJuy+ulU; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-168523-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168523-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id wd24-20020a05620a729800b0078f1a23c6acsi4555222qkn.88.2024.05.03.22.31.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 22:31:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168523-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hJuy+ulU; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-168523-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168523-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 17C031C2154C for ; Sat, 4 May 2024 05:31:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 45E4C10A16; Sat, 4 May 2024 05:31:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="hJuy+ulU" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AC25A4C9B; Sat, 4 May 2024 05:31:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.21 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714800684; cv=none; b=hY6/eFZB0be++gNCAL4HfnKadDUcTk0EzrPKArm7N2E7cEPn9sU69c4W4dOfcE9JxI+hkrzilDHalnh19t48ydxYsCQAxuI3riN8N3NDaU4fCGdR7ma3hVEL+fgbNLIMsyC1BdSoKCX1FuwM/rr8HS1x0svJwCiz5m7YY1vLzEM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714800684; c=relaxed/simple; bh=sJjOB3zA6SjbS1+qIxhCf9ws/CS6ok9FeDp/n7Smlnc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qlKXLY0WyTD4e56iQEJwLh8IZ6RaU6OHh0o36GStUwgSU4cKPBgS09t0Mr3O0oMwKg4+7uisTOlSOlwuyjRg04Rg60fBzZUCSP7/5Q6Q+I7X854hvE7X5p+ynTVeZCJCAuamp9dkI/9ugHC7GIplbKhmbN0bxRPQD4Q4cqteB7U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=hJuy+ulU; arc=none smtp.client-ip=198.175.65.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1714800682; x=1746336682; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=sJjOB3zA6SjbS1+qIxhCf9ws/CS6ok9FeDp/n7Smlnc=; b=hJuy+ulUPDySTSpOs0CKLC0nJKdG50ucxEJVQr78i4CQoiMFAHrU8A1R DFWy0Jc3vf/ekOfI9fsfgQEQ2iwvSWO543ueOkn88ag0/Z0ERU4kaCrWJ w6Ve/DWbHMT6BP9a6YDpbCpPIR5BEerO2jrQT3RrvbhuJPtSDS8Kvkfe9 s2BFv01qvBjJ7tQyDeJRxiCetov2pks19l6TRGZRAhDjWvAQd5L3i60qg DYvDK6jehQI/x3to64oAmMIVLmcZFCeaCDLUtLjhhy58i0InvzmgdbyLj AskEutS7vGIfQRdriYGikBgwSAFdwmGsIoR309nhHgU7G5+xM22oapnGS w==; X-CSE-ConnectionGUID: C6ek+s5pSG6WuacIS1rAUQ== X-CSE-MsgGUID: Dtr1sDT8SHy7TTmM9crMdw== X-IronPort-AV: E=McAfee;i="6600,9927,11063"; a="10542783" X-IronPort-AV: E=Sophos;i="6.07,252,1708416000"; d="scan'208";a="10542783" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 May 2024 22:31:22 -0700 X-CSE-ConnectionGUID: GJtR8RFyRlepBvvKPvRTjQ== X-CSE-MsgGUID: nSBnHCBQRGOzr6VphNgHqA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,252,1708416000"; d="scan'208";a="32450736" Received: from lkp-server01.sh.intel.com (HELO e434dd42e5a1) ([10.239.97.150]) by orviesa004.jf.intel.com with ESMTP; 03 May 2024 22:31:18 -0700 Received: from kbuild by e434dd42e5a1 with local (Exim 4.96) (envelope-from ) id 1s37zO-000CSb-2k; Sat, 04 May 2024 05:31:14 +0000 Date: Sat, 4 May 2024 13:31:12 +0800 From: kernel test robot To: Shashank Babu Chinta Venkata , jingoohan1@gmail.com, gustavo.pimentel@synopsys.com, manivannan.sadhasivam@linaro.org, andersson@kernel.org, agross@kernel.org, konrad.dybcio@linaro.org, mani@kernel.org Cc: oe-kbuild-all@lists.linux.dev, quic_msarkar@quicinc.com, quic_kraravin@quicinc.com, Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Yoshihiro Shimoda , Serge Semin , Conor Dooley , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v4 1/3] PCI: qcom: Refactor common code Message-ID: <202405041326.aSnZgClv-lkp@intel.com> References: <20240501163610.8900-2-quic_schintav@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240501163610.8900-2-quic_schintav@quicinc.com> Hi Shashank, kernel test robot noticed the following build warnings: [auto build test WARNING on pci/next] [also build test WARNING on pci/for-linus linus/master v6.9-rc6 next-20240503] [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/Shashank-Babu-Chinta-Venkata/PCI-qcom-Refactor-common-code/20240502-003801 base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next patch link: https://lore.kernel.org/r/20240501163610.8900-2-quic_schintav%40quicinc.com patch subject: [PATCH v4 1/3] PCI: qcom: Refactor common code config: arm64-defconfig (https://download.01.org/0day-ci/archive/20240504/202405041326.aSnZgClv-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240504/202405041326.aSnZgClv-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/202405041326.aSnZgClv-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/pci/controller/dwc/pcie-qcom-common.c: In function 'qcom_pcie_common_icc_get_resource': >> drivers/pci/controller/dwc/pcie-qcom-common.c:25:24: warning: returning 'long int' from a function with return type 'struct icc_path *' makes pointer from integer without a cast [-Wint-conversion] 25 | return PTR_ERR(icc_mem_p); | ^~~~~~~~~~~~~~~~~~ vim +25 drivers/pci/controller/dwc/pcie-qcom-common.c 15 16 #define QCOM_PCIE_LINK_SPEED_TO_BW(speed) \ 17 Mbps_to_icc(PCIE_SPEED2MBS_ENC(pcie_link_speed[speed])) 18 19 struct icc_path *qcom_pcie_common_icc_get_resource(struct dw_pcie *pci, const char *path) 20 { 21 struct icc_path *icc_mem_p; 22 23 icc_mem_p = devm_of_icc_get(pci->dev, path); 24 if (IS_ERR_OR_NULL(icc_mem_p)) > 25 return PTR_ERR(icc_mem_p); 26 return icc_mem_p; 27 } 28 EXPORT_SYMBOL_GPL(qcom_pcie_common_icc_get_resource); 29 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki