Re: [PATCH v1 4/9] soc: qcom: geni-se: Enable QUPs on SA8255p Qualcomm platforms
From: kernel test robot
Date: Fri Apr 11 2025 - 14:42:04 EST
Hi Praveen,
kernel test robot noticed the following build warnings:
[auto build test WARNING on tty/tty-testing]
[also build test WARNING on tty/tty-next tty/tty-linus robh/for-next driver-core/driver-core-testing driver-core/driver-core-next driver-core/driver-core-linus usb/usb-testing usb/usb-next usb/usb-linus linus/master v6.15-rc1 next-20250411]
[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/Praveen-Talari/opp-add-new-helper-API-dev_pm_opp_set_level/20250411-015310
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
patch link: https://lore.kernel.org/r/20250410174010.31588-5-quic_ptalari%40quicinc.com
patch subject: [PATCH v1 4/9] soc: qcom: geni-se: Enable QUPs on SA8255p Qualcomm platforms
config: arc-randconfig-001-20250412 (https://download.01.org/0day-ci/archive/20250412/202504120240.SMbLkgHv-lkp@xxxxxxxxx/config)
compiler: arc-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250412/202504120240.SMbLkgHv-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504120240.SMbLkgHv-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
drivers/soc/qcom/qcom-geni-se.c: In function 'geni_se_probe':
>> drivers/soc/qcom/qcom-geni-se.c:953:1: warning: label 'out' defined but not used [-Wunused-label]
953 | out:
| ^~~
--
>> drivers/soc/qcom/qcom-geni-se.c:110: warning: Function parameter or struct member 'geni_se_rsc_init' not described in 'geni_se_desc'
vim +/out +953 drivers/soc/qcom/qcom-geni-se.c
928
929 static int geni_se_probe(struct platform_device *pdev)
930 {
931 struct device *dev = &pdev->dev;
932 struct geni_wrapper *wrapper;
933 const struct geni_se_desc *desc;
934 int ret;
935
936 wrapper = devm_kzalloc(dev, sizeof(*wrapper), GFP_KERNEL);
937 if (!wrapper)
938 return -ENOMEM;
939
940 wrapper->dev = dev;
941 wrapper->base = devm_platform_ioremap_resource(pdev, 0);
942 if (IS_ERR(wrapper->base))
943 return PTR_ERR(wrapper->base);
944
945 desc = device_get_match_data(&pdev->dev);
946
947 if (!has_acpi_companion(&pdev->dev) && desc->geni_se_rsc_init) {
948 ret = desc->geni_se_rsc_init(wrapper, desc);
949 if (ret)
950 return -EINVAL;
951 }
952
> 953 out:
954 dev_set_drvdata(dev, wrapper);
955 dev_dbg(dev, "GENI SE Driver probed\n");
956 return devm_of_platform_populate(dev);
957 }
958
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki