Skip to content

Commit

Permalink
gcc-plugins: latent_entropy: remove unneeded semicolon
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Jason Yan authored and Kees Cook committed Mar 2, 2021
1 parent b924a81 commit 5477edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gcc-plugins/latent_entropy_plugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5477edc

Please sign in to comment.