[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202410300901.9B3oDYwL-lkp@intel.com>
Date: Wed, 30 Oct 2024 09:41:05 +0800
From: kernel test robot <lkp@...el.com>
To: Ram Kumar Dwivedi <quic_rdwivedi@...cinc.com>,
manivannan.sadhasivam@...aro.org, alim.akhtar@...sung.com,
avri.altman@....com, bvanassche@....org, robh@...nel.org,
krzk+dt@...nel.org, conor+dt@...nel.org, andersson@...nel.org,
konrad.dybcio@...aro.org, James.Bottomley@...senpartnership.com,
martin.petersen@...cle.com, agross@...nel.org
Cc: oe-kbuild-all@...ts.linux.dev, linux-arm-msm@...r.kernel.org,
linux-scsi@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, quic_narepall@...cinc.com,
quic_nitirawa@...cinc.com, Can Guo <quic_cang@...cinc.com>
Subject: Re: [PATCH V2 3/3] scsi: ufs: qcom: Add support for multiple ICE
allocators
Hi Ram,
kernel test robot noticed the following build errors:
[auto build test ERROR on robh/for-next]
[also build test ERROR on mkp-scsi/for-next jejb-scsi/for-next linus/master v6.12-rc5 next-20241029]
[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/Ram-Kumar-Dwivedi/dt-bindings-ufs-qcom-Document-ice-configuration-table/20241029-193301
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link: https://lore.kernel.org/r/20241029113003.18820-4-quic_rdwivedi%40quicinc.com
patch subject: [PATCH V2 3/3] scsi: ufs: qcom: Add support for multiple ICE allocators
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20241030/202410300901.9B3oDYwL-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241030/202410300901.9B3oDYwL-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 <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410300901.9B3oDYwL-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
drivers/ufs/host/ufs-qcom.c: In function 'ufs_qcom_hce_enable_notify':
>> drivers/ufs/host/ufs-qcom.c:656:23: error: implicit declaration of function 'ufs_qcom_config_ice_allocator'; did you mean 'ufs_qcom_config_ice'? [-Wimplicit-function-declaration]
656 | err = ufs_qcom_config_ice_allocator(host);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ufs_qcom_config_ice
drivers/ufs/host/ufs-qcom.c: At top level:
>> drivers/ufs/host/ufs-qcom.c:412:12: warning: 'ufs_qcom_config_ice' defined but not used [-Wunused-function]
412 | static int ufs_qcom_config_ice(struct ufs_qcom_host *host)
| ^~~~~~~~~~~~~~~~~~~
vim +656 drivers/ufs/host/ufs-qcom.c
635
636 static int ufs_qcom_hce_enable_notify(struct ufs_hba *hba,
637 enum ufs_notify_change_status status)
638 {
639 struct ufs_qcom_host *host = ufshcd_get_variant(hba);
640 int err;
641
642 switch (status) {
643 case PRE_CHANGE:
644 err = ufs_qcom_power_up_sequence(hba);
645 if (err)
646 return err;
647
648 /*
649 * The PHY PLL output is the source of tx/rx lane symbol
650 * clocks, hence, enable the lane clocks only after PHY
651 * is initialized.
652 */
653 err = ufs_qcom_enable_lane_clks(host);
654 break;
655 case POST_CHANGE:
> 656 err = ufs_qcom_config_ice_allocator(host);
657 if (err) {
658 dev_err(hba->dev, "failed to configure ice, ret=%d\n", err);
659 break;
660 }
661 /* check if UFS PHY moved from DISABLED to HIBERN8 */
662 err = ufs_qcom_check_hibern8(hba);
663 ufs_qcom_enable_hw_clk_gating(hba);
664 ufs_qcom_ice_enable(host);
665 break;
666 default:
667 dev_err(hba->dev, "%s: invalid status %d\n", __func__, status);
668 err = -EINVAL;
669 break;
670 }
671 return err;
672 }
673
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists