mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jie Gan <jie.gan@oss.qualcomm.com>,
	Suzuki K Poulose <suzuki.poulose@arm.com>,
	Mike Leach <mike.leach@linaro.org>,
	James Clark <james.clark@linaro.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Alexander Shishkin <alexander.shishkin@linux.intel.com>,
	Tingwei Zhang <tingwei.zhang@oss.qualcomm.com>,
	Mao Jinlong <jinlmao.mao@oss.qualcomm.com>,
	Tao Zhang <quic_taozha@quicinc.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-arm-msm@vger.kernel.org,
	coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1 2/3] coresight: tpdm: add static tpdm support
Date: Sat, 23 Aug 2025 15:10:57 +0800	[thread overview]
Message-ID: <202508231400.bELUAEeq-lkp@intel.com> (raw)
In-Reply-To: <20250822103008.1029-3-jie.gan@oss.qualcomm.com>

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@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

  reply	other threads:[~2025-08-23  7:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-22 10:30 [PATCH v1 0/3] coresight: add static TPDM support Jie Gan
2025-08-22 10:30 ` [PATCH v1 1/3] dt-bindings: arm: document the static TPDM compatible Jie Gan
2025-08-26 21:46   ` Rob Herring (Arm)
2025-08-22 10:30 ` [PATCH v1 2/3] coresight: tpdm: add static tpdm support Jie Gan
2025-08-23  7:10   ` kernel test robot [this message]
2025-09-03  2:47   ` Jie Gan
2025-09-03 11:06   ` Konrad Dybcio
2025-09-04  0:47     ` Jie Gan
2025-08-22 10:30 ` [PATCH v1 3/3] arm64: dts: qcom: lemans: enable static TPDM Jie Gan
2025-09-03 15:59   ` Konrad Dybcio
2025-09-04  2:48     ` Jie Gan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202508231400.bELUAEeq-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=coresight@lists.linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=james.clark@linaro.org \
    --cc=jie.gan@oss.qualcomm.com \
    --cc=jinlmao.mao@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mike.leach@linaro.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=quic_taozha@quicinc.com \
    --cc=robh@kernel.org \
    --cc=suzuki.poulose@arm.com \
    --cc=tingwei.zhang@oss.qualcomm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®