[PATCH v1 2/3] coresight: tpdm: add static tpdm support
kernel test robot
lkp at intel.com
Sat Aug 23 00:10:57 PDT 2025
Hi Jie,
kernel test robot noticed the following build errors:
[auto build test ERROR on next-20250822]
[also build test ERROR on v6.17-rc2]
[cannot apply to robh/for-next linus/master v6.17-rc2 v6.17-rc1 v6.16]
[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/Jie-Gan/dt-bindings-arm-document-the-static-TPDM-compatible/20250822-183421
base: next-20250822
patch link: https://lore.kernel.org/r/20250822103008.1029-3-jie.gan%40oss.qualcomm.com
patch subject: [PATCH v1 2/3] coresight: tpdm: add static tpdm support
config: arm-randconfig-002-20250823 (https://download.01.org/0day-ci/archive/20250823/202508231400.bELUAEeq-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250823/202508231400.bELUAEeq-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202508231400.bELUAEeq-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/hwtracing/coresight/coresight-tpda.c: In function 'tpdm_read_element_size':
>> drivers/hwtracing/coresight/coresight-tpda.c:77:17: error: label 'out' used but not defined
77 | goto out;
| ^~~~
vim +/out +77 drivers/hwtracing/coresight/coresight-tpda.c
57
58 /*
59 * Read the element size from the TPDM device. One TPDM must have at least one of the
60 * element size property.
61 * Returns
62 * 0 - The element size property is read
63 * Others - Cannot read the property of the element size
64 */
65 static int tpdm_read_element_size(struct tpda_drvdata *drvdata,
66 struct coresight_device *csdev)
67 {
68 int rc = -EINVAL;
69 struct tpdm_drvdata *tpdm_data = dev_get_drvdata(csdev->dev.parent);
70
71 if (coresight_is_static_tpdm(csdev)) {
72 rc = fwnode_property_read_u32(dev_fwnode(csdev->dev.parent),
73 "qcom,dsb-element-bits", &drvdata->dsb_esize);
74 rc &= fwnode_property_read_u32(dev_fwnode(csdev->dev.parent),
75 "qcom,cmb-element-bits", &drvdata->cmb_esize);
76
> 77 goto out;
78 }
79
80 if (tpdm_data->dsb) {
81 rc = fwnode_property_read_u32(dev_fwnode(csdev->dev.parent),
82 "qcom,dsb-element-bits", &drvdata->dsb_esize);
83 }
84
85 if (tpdm_data->cmb) {
86 rc = fwnode_property_read_u32(dev_fwnode(csdev->dev.parent),
87 "qcom,cmb-element-bits", &drvdata->cmb_esize);
88 }
89
90 if (rc)
91 dev_warn_once(&csdev->dev,
92 "Failed to read TPDM Element size: %d\n", rc);
93
94 return rc;
95 }
96
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the linux-arm-kernel
mailing list