2021-12-11 09:04:26

by Jason Wang

[permalink] [raw]
Subject: [PATCH] coresight: core: fix typo in a comment

The double `the' in the comment in line 732 is repeated. Remove one
of them from the comment.

Signed-off-by: Jason Wang <[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 8a18c71df37a..88653d1c06a4 100644
--- a/drivers/hwtracing/coresight/coresight-core.c
+++ b/drivers/hwtracing/coresight/coresight-core.c
@@ -729,7 +729,7 @@ static inline void coresight_put_ref(struct coresight_device *csdev)
* coresight_grab_device - Power up this device and any of the helper
* devices connected to it for trace operation. Since the helper devices
* don't appear on the trace path, they should be handled along with the
- * the master device.
+ * master device.
*/
static int coresight_grab_device(struct coresight_device *csdev)
{
--
2.34.1



2021-12-13 18:56:12

by Mathieu Poirier

[permalink] [raw]
Subject: Re: [PATCH] coresight: core: fix typo in a comment

On Sat, Dec 11, 2021 at 05:02:21PM +0800, Jason Wang wrote:
> The double `the' in the comment in line 732 is repeated. Remove one
> of them from the comment.
>
> Signed-off-by: Jason Wang <[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 8a18c71df37a..88653d1c06a4 100644
> --- a/drivers/hwtracing/coresight/coresight-core.c
> +++ b/drivers/hwtracing/coresight/coresight-core.c
> @@ -729,7 +729,7 @@ static inline void coresight_put_ref(struct coresight_device *csdev)
> * coresight_grab_device - Power up this device and any of the helper
> * devices connected to it for trace operation. Since the helper devices
> * don't appear on the trace path, they should be handled along with the
> - * the master device.
> + * master device.

Applied.

Thanks,
Mathieu

> */
> static int coresight_grab_device(struct coresight_device *csdev)
> {
> --
> 2.34.1
>