x86/build: Clean up arch/x86/tools/relocs.c a bit
authorIngo Molnar <mingo@kernel.org>
Sun, 24 Mar 2024 03:46:10 +0000 (04:46 +0100)
committerIngo Molnar <mingo@kernel.org>
Sun, 24 Mar 2024 04:01:35 +0000 (05:01 +0100)
commit17608373cf907afe97654998663cc2ab8070e90b
tree52697a62a342e8836bfb65cdfbaf93eab87b8457
parent76e9762d66373354b45c33b60e9a53ef2a3c5ff2
x86/build: Clean up arch/x86/tools/relocs.c a bit

So:

 - Follow Documentation/CodingStyle for:
    - curly braces
    - variable definitions
    - return statements
    - etc.
    - Fix unnecessary linebreaks
    - Don't split user-visible error strings over multiple lines ...

 - It's fine to use vertical alignment to make code more readable,
   but it should be internally consistent for definitions visible
   on a single page ...

 - There's 40+ die() statements that are basically asserts and
   never trigger. Make them single-line, to move them out of
   sight as much as possible.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: linux-kernel@vger.kernel.org
arch/x86/tools/relocs.c