kernel.h cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 3 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/14] kernel.h cleanups
No one seems to like taking patches for kernel.h so I'm sending these to Linus and seeing what happens.
kernel.h has become a chaotic jumble collected over time. Collect the functions and #defines together in logical groups. Do some checkpatch neatening and make it more style conformant.
Compiled x86 allnoconfig, allyesconfig, defconfig
Joe Perches (14):
kernel.h: Consolidate console and logging functions and defines kernel.h: Checkpatch cleaning
kernel.h: ARRAY_SIZE neatening
kernel.h: Add argument names to strtoXX, Xscanf prototypes kernel.h: printk neatening drivers/firmware/iscsi_ibft.c: Use %pI4 to print netmask kernel.h: Move NIPQUAD and NIPQUAD_FMT to in.h kernel.h: Group math and limits functions, indent function args kernel.h: Don't use NORET_AND just use noreturn, instead kernel.h: Remove ATTRIB_NORET, use __attribute__((noreturn)) kernel.h: Remove uses of NORET_TYPE
kernel.h: Add pr_<level>_once
kernel.h: Kernel address utility aggregation and other neatening kernel/exit.c and kernel/panic.c: Remove unused NORET_TYPE
drivers/firmware/iscsi_ibft.c | 8 +- include/linux/in.h | 11 + include/linux/kernel.h | 742 +++++++++++++++++++++++------------------ kernel/exit.c | 4 +- kernel/panic.c | 2 +- 5 files changed, 437 insertions(+), 330 deletions(-)