]> git.baikalelectronics.ru Git - kernel.git/commit
random: selectively clang-format where it makes sense
authorJason A. Donenfeld <Jason@zx2c4.com>
Sat, 15 Jan 2022 13:57:22 +0000 (14:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 May 2022 07:29:03 +0000 (09:29 +0200)
commit61e9d99bbdd13e2cb88c191101c2e5faf681fdce
tree69f4e8543e8653acba9604c20bc413c3aa89d612
parentf25772acf955773df55689c5752154120051a7dc
random: selectively clang-format where it makes sense

commit 06034d5938d54f1d31a913e069461ffaa3b29ab0 upstream.

This is an old driver that has seen a lot of different eras of kernel
coding style. In an effort to make it easier to code for, unify the
coding style around the current norm, by accepting some of -- but
certainly not all of -- the suggestions from clang-format. This should
remove ambiguity in coding style, especially with regards to spacing,
when code is being changed or amended. Consequently it also makes code
review easier on the eyes, following one uniform style rather than
several.

Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/random.c