2022-07-21 03:51:25

by Slark Xiao

[permalink] [raw]
Subject: [PATCH] s390: Fix typo 'the the' in comment

Replace 'the the' with 'the' in the comment.

Signed-off-by: Slark Xiao <[email protected]>
---
arch/s390/kernel/perf_cpum_sf.c | 2 +-
arch/s390/kernel/sthyi.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

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
diff --git a/arch/s390/kernel/sthyi.c b/arch/s390/kernel/sthyi.c
index 4d141e2c132e..dfc350fab384 100644
--- a/arch/s390/kernel/sthyi.c
+++ b/arch/s390/kernel/sthyi.c
@@ -250,7 +250,7 @@ static void fill_diag_mac(struct sthyi_sctns *sctns,
sctns->mac.infmval1 |= MAC_CNT_VLD;
}

-/* Returns a pointer to the the next partition block. */
+/* Returns a pointer to the next partition block. */
static struct diag204_x_part_block *lpar_cpu_inf(struct lpar_cpu_inf *part_inf,
bool this_lpar,
void *diag224_buf,
--
2.25.1


2022-07-21 06:35:10

by Alexander Gordeev

[permalink] [raw]
Subject: Re: [PATCH] s390: Fix typo 'the the' in comment

On Thu, Jul 21, 2022 at 11:33:58AM +0800, Slark Xiao wrote:
> Replace 'the the' with 'the' in the comment.
>
> Signed-off-by: Slark Xiao <[email protected]>
> ---
> arch/s390/kernel/perf_cpum_sf.c | 2 +-
> arch/s390/kernel/sthyi.c | 2 +-

Please, split in two patches and add subsystems to the descriptions.

Thanks!

2022-07-21 06:48:12

by Alexander Gordeev

[permalink] [raw]
Subject: Re: Re: [PATCH] s390: Fix typo 'the the' in comment

On Thu, Jul 21, 2022 at 02:39:08PM +0800, Slark Xiao wrote:
>
> Hi,
> ? OKay, I will send v2 later.
> ? BTW, add subsystems to the title would be enough, right?

Yes. Please, see other similar patches sent.

2022-07-21 07:32:45

by Slark Xiao

[permalink] [raw]
Subject: Re:Re: [PATCH] s390: Fix typo 'the the' in comment


Hi,
  OKay, I will send v2 later.
  BTW, add subsystems to the title would be enough, right?





At 2022-07-21 14:25:44, "Alexander Gordeev" <[email protected]> wrote:
>On Thu, Jul 21, 2022 at 11:33:58AM +0800, Slark Xiao wrote:
>> Replace 'the the' with 'the' in the comment.
>>
>> Signed-off-by: Slark Xiao <[email protected]>
>> ---
>> arch/s390/kernel/perf_cpum_sf.c | 2 +-
>> arch/s390/kernel/sthyi.c | 2 +-
>
>Please, split in two patches and add subsystems to the descriptions.
>
>Thanks!