projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b924a81
)
gcc-plugins: latent_entropy: remove unneeded semicolon
author
Jason Yan
<yanaijie@huawei.com>
Sat, 18 Apr 2020 07:05:21 +0000
(15:05 +0800)
committer
Kees Cook
<keescook@chromium.org>
Tue, 2 Mar 2021 03:19:50 +0000
(19:19 -0800)
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>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link:
https://lore.kernel.org/r/20200418070521.10931-1-yanaijie@huawei.com
scripts/gcc-plugins/latent_entropy_plugin.c
patch
|
blob
|
history
diff --git
a/scripts/gcc-plugins/latent_entropy_plugin.c
b/scripts/gcc-plugins/latent_entropy_plugin.c
index 9dced66d158ecf91f9633da03b82e028cf75e52b..589454bce93013e5fb0802873f0589b00721b20b 100644
(file)
--- a/
scripts/gcc-plugins/latent_entropy_plugin.c
+++ b/
scripts/gcc-plugins/latent_entropy_plugin.c
@@
-524,7
+524,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);