* [PATCH] gcc-plugins: latent_entropy: remove unneeded semicolon
@ 2020-04-18 7:05 Jason Yan
2021-03-02 22:54 ` Kees Cook
0 siblings, 1 reply; 2+ messages in thread
From: Jason Yan @ 2020-04-18 7:05 UTC (permalink / raw)
To: keescook, re.emese, kernel-hardening, linux-kernel; +Cc: Jason Yan, Hulk Robot
Fix the following coccicheck warning:
scripts/gcc-plugins/latent_entropy_plugin.c:539:2-3: Unneeded semicolon
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
---
scripts/gcc-plugins/latent_entropy_plugin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/gcc-plugins/latent_entropy_plugin.c b/scripts/gcc-plugins/latent_entropy_plugin.c
index cbe1d6c4b1a5..5c304061ad2a 100644
--- a/scripts/gcc-plugins/latent_entropy_plugin.c
+++ b/scripts/gcc-plugins/latent_entropy_plugin.c
@@ -536,7 +536,7 @@ static unsigned int latent_entropy_execute(void)
while (bb != EXIT_BLOCK_PTR_FOR_FN(cfun)) {
perturb_local_entropy(bb, local_entropy);
bb = bb->next_bb;
- };
+ }
/* 4. mix local entropy into the global entropy variable */
perturb_latent_entropy(local_entropy);
--
2.21.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gcc-plugins: latent_entropy: remove unneeded semicolon
2020-04-18 7:05 [PATCH] gcc-plugins: latent_entropy: remove unneeded semicolon Jason Yan
@ 2021-03-02 22:54 ` Kees Cook
0 siblings, 0 replies; 2+ messages in thread
From: Kees Cook @ 2021-03-02 22:54 UTC (permalink / raw)
To: Jason Yan, linux-hardening, linux-kernel; +Cc: Kees Cook, Hulk Robot
On Sat, 18 Apr 2020 15:05:21 +0800, Jason Yan wrote:
> Fix the following coccicheck warning:
>
> scripts/gcc-plugins/latent_entropy_plugin.c:539:2-3: Unneeded semicolon
Applied to for-next/gcc-plugins, thanks!
[1/1] gcc-plugins: latent_entropy: remove unneeded semicolon
https://git.kernel.org/kees/c/5477edcacaac
--
Kees Cook
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-03 10:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-18 7:05 [PATCH] gcc-plugins: latent_entropy: remove unneeded semicolon Jason Yan
2021-03-02 22:54 ` Kees Cook
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).