2022-08-16 17:29:20

by Xin Gao

[permalink] [raw]
Subject: [PATCH] s390/cpum_sf.c: Fix comment typo

The double `the' is duplicated in the comment, remove one.

Signed-off-by: Xin Gao <[email protected]>
---
arch/s390/kernel/perf_cpum_sf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/s390/kernel/perf_cpum_sf.c b/arch/s390/kernel/perf_cpum_sf.c
index 332a49965130..0fda19b1e21d 100644
--- a/arch/s390/kernel/perf_cpum_sf.c
+++ b/arch/s390/kernel/perf_cpum_sf.c
@@ -1160,7 +1160,7 @@ static void perf_event_count_update(struct perf_event *event, u64 count)
* combined-sampling data entry consists of a basic- and a diagnostic-sampling
* data entry. The sampling function is determined by the flags in the perf
* event hardware structure. The function always works with a combined-sampling
- * data entry but ignores the the diagnostic portion if it is not available.
+ * data entry but ignores the diagnostic portion if it is not available.
*
* Note that the implementation focuses on basic-sampling data entries and, if
* such an entry is not valid, the entire combined-sampling data entry is
--
2.30.2


2022-08-26 09:53:06

by Thomas Richter

[permalink] [raw]
Subject: Re: [PATCH] s390/cpum_sf.c: Fix comment typo

On 8/16/22 19:19, Xin Gao wrote:
> The double `the' is duplicated in the comment, remove one.
>
> Signed-off-by: Xin Gao <[email protected]>
> ---
> arch/s390/kernel/perf_cpum_sf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/s390/kernel/perf_cpum_sf.c b/arch/s390/kernel/perf_cpum_sf.c
> index 332a49965130..0fda19b1e21d 100644
> --- a/arch/s390/kernel/perf_cpum_sf.c
> +++ b/arch/s390/kernel/perf_cpum_sf.c
> @@ -1160,7 +1160,7 @@ static void perf_event_count_update(struct perf_event *event, u64 count)
> * combined-sampling data entry consists of a basic- and a diagnostic-sampling
> * data entry. The sampling function is determined by the flags in the perf
> * event hardware structure. The function always works with a combined-sampling
> - * data entry but ignores the the diagnostic portion if it is not available.
> + * data entry but ignores the diagnostic portion if it is not available.
> *
> * Note that the implementation focuses on basic-sampling data entries and, if
> * such an entry is not valid, the entire combined-sampling data entry is

Acked-by: Thomas Richter <[email protected]>
--
Thomas Richter, Dept 3303, IBM s390 Linux Development, Boeblingen, Germany
--
Vorsitzender des Aufsichtsrats: Gregor Pillen
Geschäftsführung: David Faller
Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 243294