From suzuki.poulose@arm.com Wed Oct 25 10:27:15 2023 From: Suzuki K Poulose To: coresight@lists.linaro.org Subject: Re: [PATCH v1] coresight-tpdm: Correct the property name of MSR number Date: Wed, 25 Oct 2023 11:27:08 +0100 Message-ID: In-Reply-To: <1698128353-31157-1-git-send-email-quic_taozha@quicinc.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4491187933440242149==" --===============4491187933440242149== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Please always run a checkpatch on your patch before submission. (And of course test your patch properly for all the functionality that it introduces. We don't have the hardware for testing all of this. So, there is only so much we could do with the eyes) On 24/10/2023 07:19, Tao Zhang wrote: > Correct the property name of the DSB MSR number that needs to be > read in TPDM driver. The right property name is > "qcom,dsb-msrs-num". >=20 > Fixes=EF=BC=9A 90a7371cb08d ("coresight-tpdm: Add nodes for dsb msr support= ") > Signed-off-by: Tao Zhang > --- > drivers/hwtracing/coresight/coresight-tpdm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/hwtracing/coresight/coresight-tpdm.c b/drivers/hwtraci= ng/coresight/coresight-tpdm.c > index b25284e..97654aa 100644 > --- a/drivers/hwtracing/coresight/coresight-tpdm.c > +++ b/drivers/hwtracing/coresight/coresight-tpdm.c > @@ -892,7 +892,7 @@ static int tpdm_probe(struct amba_device *adev, const s= truct amba_id *id) > =20 > if (drvdata && tpdm_has_dsb_dataset(drvdata)) > of_property_read_u32(drvdata->dev->of_node, > - "qcom,dsb_msr_num", &drvdata->dsb_msr_num); > + "qcom,dsb-msrs-num", &drvdata->dsb_msr_num); > =20 > /* Set up coresight component description */ > desc.name =3D coresight_alloc_device_name(&tpdm_devs, dev); checkpatch complains: ERROR: Please use git commit description style 'commit <12+ chars of=20 sha1> ("")' - ie: 'commit 90a7371cb08d ("coresight-tpdm: Add=20 nodes for dsb msr support")' #13: Fixes=EF=BC=9A 90a7371cb08d ("coresight-tpdm: Add nodes for dsb msr support") total: 1 errors, 0 warnings, 8 lines checked Suzuki --===============4491187933440242149==--