toolchain: use consistent code style for C code
authorPeter Korsgaard <peter@korsgaard.com>
Sat, 8 Feb 2020 19:44:00 +0000 (20:44 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 8 Feb 2020 21:10:06 +0000 (22:10 +0100)
commit5fd8dd203a73f51ff3bcfe5eee600d0526403c6e
tree1ca5dbe1521c34281063090ab95e64f1d2fe5869
parent9aebf953fbc2b143449dd6a88f7bc5e01a6534a5
toolchain: use consistent code style for C code

Most, but not all our C code follows the Linux kernel code style (as
documented in Documentation/process/coding-style.rst).  Adjust the few
places doing differently:

- Braces:
  ..but the preferred way, as shown to us by the prophets Kernighan
  and Ritchie, is to put the opening brace last on the line

- Spaces after keywords:
  Use a space after (most) keywords

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
support/scripts/check-kernel-headers.sh
toolchain/toolchain-wrapper.c