* [PATCH] selftests/timers: remove unneeded semicolon
@ 2021-02-25 6:54 Jiapeng Chong
0 siblings, 0 replies; 3+ messages in thread
From: Jiapeng Chong @ 2021-02-25 6:54 UTC (permalink / raw)
To: john.stultz
Cc: tglx, sboyd, shuah, linux-kernel, linux-kselftest, Jiapeng Chong
Fix the following coccicheck warnings:
./tools/testing/selftests/timers/nsleep-lat.c:75:2-3: Unneeded
semicolon.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
tools/testing/selftests/timers/nsleep-lat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/timers/nsleep-lat.c b/tools/testing/selftests/timers/nsleep-lat.c
index eb3e79e..a7ca982 100644
--- a/tools/testing/selftests/timers/nsleep-lat.c
+++ b/tools/testing/selftests/timers/nsleep-lat.c
@@ -72,7 +72,7 @@ char *clockstring(int clockid)
return "CLOCK_BOOTTIME_ALARM";
case CLOCK_TAI:
return "CLOCK_TAI";
- };
+ }
return "UNKNOWN_CLOCKID";
}
--
1.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] selftests/timers: remove unneeded semicolon
2021-03-09 7:49 Jiapeng Chong
@ 2021-03-26 19:06 ` Shuah Khan
0 siblings, 0 replies; 3+ messages in thread
From: Shuah Khan @ 2021-03-26 19:06 UTC (permalink / raw)
To: Jiapeng Chong, john.stultz
Cc: tglx, sboyd, shuah, linux-kernel, linux-kselftest, Shuah Khan
On 3/9/21 12:49 AM, Jiapeng Chong wrote:
> Fix the following coccicheck warnings:
>
> ./tools/testing/selftests/timers/nanosleep.c:75:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
> ---
> tools/testing/selftests/timers/nanosleep.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/testing/selftests/timers/nanosleep.c b/tools/testing/selftests/timers/nanosleep.c
> index 71b5441..433a096 100644
> --- a/tools/testing/selftests/timers/nanosleep.c
> +++ b/tools/testing/selftests/timers/nanosleep.c
> @@ -72,7 +72,7 @@ char *clockstring(int clockid)
> return "CLOCK_BOOTTIME_ALARM";
> case CLOCK_TAI:
> return "CLOCK_TAI";
> - };
> + }
> return "UNKNOWN_CLOCKID";
> }
>
>
Can you send one single patch for all these timers fixes. All of these
patches have the same subject line and it is becoming hard to tell
them apart.
thanks,
-- Shuah
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] selftests/timers: remove unneeded semicolon
@ 2021-03-09 7:49 Jiapeng Chong
2021-03-26 19:06 ` Shuah Khan
0 siblings, 1 reply; 3+ messages in thread
From: Jiapeng Chong @ 2021-03-09 7:49 UTC (permalink / raw)
To: john.stultz
Cc: tglx, sboyd, shuah, linux-kernel, linux-kselftest, Jiapeng Chong
Fix the following coccicheck warnings:
./tools/testing/selftests/timers/nanosleep.c:75:2-3: Unneeded semicolon
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
tools/testing/selftests/timers/nanosleep.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/timers/nanosleep.c b/tools/testing/selftests/timers/nanosleep.c
index 71b5441..433a096 100644
--- a/tools/testing/selftests/timers/nanosleep.c
+++ b/tools/testing/selftests/timers/nanosleep.c
@@ -72,7 +72,7 @@ char *clockstring(int clockid)
return "CLOCK_BOOTTIME_ALARM";
case CLOCK_TAI:
return "CLOCK_TAI";
- };
+ }
return "UNKNOWN_CLOCKID";
}
--
1.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-26 19:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-25 6:54 [PATCH] selftests/timers: remove unneeded semicolon Jiapeng Chong
2021-03-09 7:49 Jiapeng Chong
2021-03-26 19:06 ` Shuah Khan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).