]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
bits: add comments and newlines to #if, #else and #endif directives
authorVincent Mailhol <mailhol.vincent@wanadoo.fr>
Fri, 31 Oct 2025 09:33:15 +0000 (18:33 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 2 Nov 2025 13:15:22 +0000 (22:15 +0900)
commit17143f5b09671f21e7b3ea46367ea99755589fe0
treed38a75a5176ed14f8cb69145d6a286822b2e5370
parent6f3af8055ee7ab69d1451f056fcd890df99c167e
bits: add comments and newlines to #if, #else and #endif directives

[ Upstream commit 31299a5e0211241171b2222c5633aad4763bf700 ]

This is a preparation for the upcoming GENMASK_U*() and BIT_U*()
changes. After introducing those new macros, there will be a lot of
scrolling between the #if, #else and #endif.

Add a comment to the #else and #endif preprocessor macros to help keep
track of which context we are in. Also, add new lines to better
visually separate the non-asm and asm sections.

Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Stable-dep-of: 2ba5772e530f ("gpio: idio-16: Define fixed direction of the GPIO lines")
Signed-off-by: William Breathitt Gray <wbg@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/bits.h