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

Xin Gao posted 1 patch 3 years, 7 months ago
arch/s390/kernel/perf_cpum_sf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] s390/cpum_sf.c: Fix comment typo
Posted by Xin Gao 3 years, 7 months ago
The double `the' is duplicated in the comment, remove one.

Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
---
 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
Re: [PATCH] s390/cpum_sf.c: Fix comment typo
Posted by Thomas Richter 3 years, 7 months ago
On 8/16/22 19:19, Xin Gao wrote:
> The double `the' is duplicated in the comment, remove one.
> 
> Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
> ---
>  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 <tmricht@linux.ibm.com>
-- 
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