Skip to contentSkip to conversation

coresight: core: Fix typo in coresight-core.c

PATCH Applied Qi Liu 2 participants 3 messages Mar 23, 2021 – Mar 28, 2021

Subsystems (2)
lore
Share & tools
lore

Qi Liu

author
#0 lore raw

PATCH v2 1/1 coresight: core: Fix typo in coresight-core.c

Fix the following checkpatch warning:
WARNING: 'compoment' may be misspelled - perhaps 'component'?

Fixes 8e264c52e1da ("coresight: core: Allow the coresight core driver to be built as a module")
---
 drivers/hwtracing/coresight/coresight-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwtracing/coresight/coresight-core.c +1 -1
index 0062c89..b57bea1 100644
@@ -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 components */
 	trace_id = source_ops(csdev)->trace_id(csdev);
 	i_trace_id = source_ops(i_csdev)->trace_id(i_csdev);
 
Signature · 1 line
2.8.1
maintainer
#1 lore raw
Quoted 4 lines · Qi Liu

Fix the following checkpatch warning:
WARNING: 'compoment' may be misspelled - perhaps 'component'?

Fixes 8e264c52e1da ("coresight: core: Allow the coresight core driver to be built as a module")

I will queue this one, dropping the above Fixes tag. In general, you don't need Fixes tag for anything that doesn't really fix functional bug.

Suzuki

maintainer Applied
#2 lore raw
In reply to Qi Liu
Quoted 14 lines · Qi Liu

Fix the following checkpatch warning:
WARNING: 'compoment' may be misspelled - perhaps 'component'?

Fixes 8e264c52e1da ("coresight: core: Allow the coresight core driver to be built as a module")
---
  drivers/hwtracing/coresight/coresight-core.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwtracing/coresight/coresight-core.c +0 -0
index 0062c89..b57bea1 100644

drivers/hwtracing/coresight/coresight-core.c static int coresight_id_match(struct device *dev, void *data) · line 91

Quoted 7 lines
drivers/hwtracing/coresight/coresight-core.c +1 -1
@@ -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 components */
  	trace_id = source_ops(csdev)->trace_id(csdev);
  	i_trace_id = source_ops(i_csdev)->trace_id(i_csdev);

Applied.

Thanks
Suzuki