2021-03-22 13:19:54

by liuqi (BA)

[permalink] [raw]
Subject: [PATCH] coresight: core: Fix typo in coresight-core.c

Fix up one typo: compoment->component.

Fixes: 8e264c52e1da ("coresight: core: Allow the coresight core driver to be built as a module")
Signed-off-by: Qi Liu <[email protected]>
---
drivers/hwtracing/coresight/coresight-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hwtracing/coresight/coresight-core.c b/drivers/hwtracing/coresight/coresight-core.c
index 0062c89..bc397a7 100644
--- a/drivers/hwtracing/coresight/coresight-core.c
+++ b/drivers/hwtracing/coresight/coresight-core.c
@@ -86,7 +86,7 @@ static int coresight_id_match(struct device *dev, void *data)
i_csdev->type != CORESIGHT_DEV_TYPE_SOURCE)
return 0;

- /* Get the source ID for both compoment */
+ /* Get the source ID for both component */
trace_id = source_ops(csdev)->trace_id(csdev);
i_trace_id = source_ops(i_csdev)->trace_id(i_csdev);

--
2.8.1


2021-03-22 14:41:11

by Suzuki K Poulose

[permalink] [raw]
Subject: Re: [PATCH] coresight: core: Fix typo in coresight-core.c

On 22/03/2021 13:11, Qi Liu wrote:
> Fix up one typo: compoment->component.
>
> Fixes: 8e264c52e1da ("coresight: core: Allow the coresight core driver to be built as a module")
> Signed-off-by: Qi Liu <[email protected]>

Thanks for the patch. I will queue this.

2021-03-22 16:58:20

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] coresight: core: Fix typo in coresight-core.c

On 3/22/21 7:38 AM, Suzuki K Poulose wrote:
> On 22/03/2021 13:11, Qi Liu wrote:
>> Fix up one typo: compoment->component.
>>
>> Fixes: 8e264c52e1da  ("coresight: core: Allow the coresight core driver to be built as a module")
>> Signed-off-by: Qi Liu <[email protected]>
>
> Thanks for the patch. I will queue this.

should be "both components"

--
~Randy

2021-03-23 03:53:55

by liuqi (BA)

[permalink] [raw]
Subject: Re: [PATCH] coresight: core: Fix typo in coresight-core.c



On 2021/3/23 0:55, Randy Dunlap wrote:
> On 3/22/21 7:38 AM, Suzuki K Poulose wrote:
>> On 22/03/2021 13:11, Qi Liu wrote:
>>> Fix up one typo: compoment->component.
>>>
>>> Fixes: 8e264c52e1da  ("coresight: core: Allow the coresight core driver to be built as a module")
>>> Signed-off-by: Qi Liu <[email protected]>
>>
>> Thanks for the patch. I will queue this.
>
> should be "both components"
>
Thanks,will fix it next version.

Qi

2021-03-23 03:59:45

by liuqi (BA)

[permalink] [raw]
Subject: Re: [PATCH] coresight: core: Fix typo in coresight-core.c



On 2021/3/22 22:38, Suzuki K Poulose wrote:
> On 22/03/2021 13:11, Qi Liu wrote:
>> Fix up one typo: compoment->component.
>>
>> Fixes: 8e264c52e1da  ("coresight: core: Allow the coresight core
>> driver to be built as a module")
>> Signed-off-by: Qi Liu <[email protected]>
>
> Thanks for the patch. I will queue this.
>
> .
Hi Suzuki,

Randy pointed out it should be "components" here, so I'll send a v2 with
this fixed.
Thanks,
Qi