From: Shuah Khan <skhan@linuxfoundation.org>
To: John Stultz <jstultz@google.com>
Cc: Chen Ni <nichen@iscas.ac.cn>,
tglx@linutronix.de, sboyd@kernel.org, anna-maria@linutronix.de,
frederic@kernel.org, shuah@kernel.org,
linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org,
Shuah Khan <skhan@linuxfoundation.org>
Subject: Re: [PATCH] selftests: timers: Remove unneeded semicolon
Date: Mon, 14 Oct 2024 16:08:01 -0600 [thread overview]
Message-ID: <606f8672-cd66-4828-99b9-2356c738acc2@linuxfoundation.org> (raw)
In-Reply-To: <CANDhNCr5X3gkSRR7cWZ13DDbepV3Nb1tQ5E3XuAaJx_5vZ=PCw@mail.gmail.com>
On 10/11/24 18:47, John Stultz wrote:
> On Fri, Oct 11, 2024 at 4:00 PM Shuah Khan <skhan@linuxfoundation.org> wrote:
>>
>> On 10/10/24 01:37, Chen Ni wrote:
>>> Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
>>> semantic patch at scripts/coccinelle/misc/semicolon.cocci.
>>>
>>> Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
>>> ---
>>> tools/testing/selftests/timers/set-timer-lat.c | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/tools/testing/selftests/timers/set-timer-lat.c b/tools/testing/selftests/timers/set-timer-lat.c
>>> index 5365e9ae61c3..7a1a2382538c 100644
>>> --- a/tools/testing/selftests/timers/set-timer-lat.c
>>> +++ b/tools/testing/selftests/timers/set-timer-lat.c
>>> @@ -79,7 +79,7 @@ char *clockstring(int clockid)
>>> return "CLOCK_BOOTTIME_ALARM";
>>> case CLOCK_TAI:
>>> return "CLOCK_TAI";
>>> - };
>>> + }
>>> return "UNKNOWN_CLOCKID";
>>> }
>>>
>>
>> Looks good to me.
>>
>> John, I will apply this for next of you are okay with it.
>
> Acked-by: John Stultz <jstultz@google.com>
Thank you. Applied linux-kselftest next for Linux 6.13-rc1.
>
>> Also I noticed clockstring() is defined in multiple tests.
>> Any thoughts on removing the duplicates and adding it to
>> a header file? This will add a dependency on another source
>> file, but might be good to remove the duplicate code.
>
> Sure, no objections.
Thanks. I will send patch in soon.
thanks,
-- Shuah
next prev parent reply other threads:[~2024-10-14 22:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-10 7:37 [PATCH] selftests: timers: Remove unneeded semicolon Chen Ni
2024-10-11 23:00 ` Shuah Khan
2024-10-12 0:47 ` John Stultz
2024-10-14 22:08 ` Shuah Khan [this message]
[not found] <20230614082010.28632-1-luojianhong@cdjrlc.com>
2023-06-14 8:22 ` baomingtong001
-- strict thread matches above, loose matches on Subject: below --
2021-11-05 1:42 cgel.zte
2021-03-15 8:07 [PATCH] selftests: timers: remove " Jiapeng Chong
2021-03-15 18:43 ` John Stultz
2021-02-23 6:23 Jiapeng Chong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=606f8672-cd66-4828-99b9-2356c738acc2@linuxfoundation.org \
--to=skhan@linuxfoundation.org \
--cc=anna-maria@linutronix.de \
--cc=frederic@kernel.org \
--cc=jstultz@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=nichen@iscas.ac.cn \
--cc=sboyd@kernel.org \
--cc=shuah@kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox