Skip to content

Code-style fixes

Paul E. McKenney lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rcu: Fix code-style issues involving "else"kernel/rcutiny_plugin.h kernel/rcutorture.c kernel/rcutree.c +1 more+18 -132 replies
2/2rcu: Fix broken strings in RCU's source code.include/linux/rcupdate.h kernel/rcutorture.c kernel/rcutree_trace.c +1 more+29 -389 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJosh TriplettLai Jiangshan
1/2R-b A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/2] Code-style fixes

Hello!

This patch series fixes some historical code-style issues in RCU:

1. If any branch of an if-then-else uses curly brackets, then
all branches are supposed to.
2. One exception to the 80-column rule is strings, which are
not supposed to be broken across lines in deference to people attempting to find error messages printed by the kernel.

Thanx, Paul

 b/include/linux/rcupdate.h |    3 +--
 b/kernel/rcutiny_plugin.h  |    3 ++-
 b/kernel/rcutorture.c      |    3 ++-
 b/kernel/rcutree.c         |    7 ++++---
 b/kernel/rcutree_plugin.h  |   18 ++++++++++--------
 b/kernel/rcutree_trace.c   |   25 ++++++++++++-------------
 b/lib/list_debug.c         |    6 ++----
 kernel/rcutorture.c        |   33 ++++++++++++++-------------------
 8 files changed, 47 insertions(+), 51 deletions(-)