]> asedeno.scripts.mit.edu Git - linux.git/commit
x86: Clean up 'sizeof x' => 'sizeof(x)'
authorJordan Borgner <mail@jordan-borgner.de>
Sun, 28 Oct 2018 12:58:28 +0000 (12:58 +0000)
committerIngo Molnar <mingo@kernel.org>
Mon, 29 Oct 2018 06:13:28 +0000 (07:13 +0100)
commit0e96f31ea4249b1e94e266fe4dff908c2983a9b3
tree00e7781f69c8d9262ae166b501ca8afd278f6bb4
parent4b783dd6a4071e0919fa7556462d86a792f518fc
x86: Clean up 'sizeof x' => 'sizeof(x)'

"sizeof(x)" is the canonical coding style used in arch/x86 most of the time.
Fix the few places that didn't follow the convention.

(Also do some whitespace cleanups in a few places while at it.)

[ mingo: Rewrote the changelog. ]

Signed-off-by: Jordan Borgner <mail@jordan-borgner.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20181028125828.7rgammkgzep2wpam@JordanDesktop
Signed-off-by: Ingo Molnar <mingo@kernel.org>
20 files changed:
arch/x86/boot/cpucheck.c
arch/x86/boot/early_serial_console.c
arch/x86/boot/edd.c
arch/x86/boot/main.c
arch/x86/boot/memory.c
arch/x86/boot/regs.c
arch/x86/boot/video-vesa.c
arch/x86/boot/video.c
arch/x86/events/intel/core.c
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/mcheck/mce.c
arch/x86/kernel/cpu/mtrr/generic.c
arch/x86/kernel/cpu/mtrr/if.c
arch/x86/kernel/head64.c
arch/x86/kernel/msr.c
arch/x86/kvm/emulate.c
arch/x86/kvm/lapic.c
arch/x86/kvm/x86.c
arch/x86/tools/relocs.c
arch/x86/um/asm/elf.h