Skip to contentSkip to conversation

s390/cpum_sf.c: Fix comment typo

PATCH In review Xin Gao 2 participants 2 messages Aug 16, 2022 – Aug 26, 2022 s390

lore
Share & tools
lore

Xin Gao

author
#0 lore raw

PATCH 1/1 s390/cpum_sf.c: Fix comment typo

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

---
 arch/s390/kernel/perf_cpum_sf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/s390/kernel/perf_cpum_sf.c +1 -1
index 332a49965130..0fda19b1e21d 100644
@@ -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
Signature · 1 line
2.30.2
Acked-by on v1 1/1
#1 lore raw
Quoted 12 lines · Xin Gao

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

---
 arch/s390/kernel/perf_cpum_sf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/s390/kernel/perf_cpum_sf.c +0 -0
index 332a49965130..0fda19b1e21d 100644

arch/s390/kernel/perf_cpum_sf.c static void perf_event_count_update(struct perf_event *event, u64 count) · line 1166

Quoted 8 lines
arch/s390/kernel/perf_cpum_sf.c +1 -1
@@ -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
Signature · 5 lines
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