]> www.infradead.org Git - users/dwmw2/linux.git/commit
fbdev/core: Fix style of code for boot-up logo
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 7 Sep 2023 08:52:02 +0000 (10:52 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 11 Sep 2023 13:12:32 +0000 (15:12 +0200)
commit58d2ef9c1c0c870f1f8b72c3ed104b98aa831f85
tree36564628259887ea0e73c7dcd96a27b03ada7574
parent828d96633ab7e0fe8032e9123d57b318cfd9f145
fbdev/core: Fix style of code for boot-up logo

Fix a number of warnings from checkpatch.pl in this code before
moving it into a separate file. This includes

 * Prefer 'unsigned int' to bare use of 'unsigned'
 * space required after that ',' (ctx:VxV)
 * space prohibited after that open parenthesis '('
 * suspect code indent for conditional statements (16, 32)
 * braces {} are not necessary for single statement blocks

No functional changes.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230907085408.9354-4-tzimmermann@suse.de
drivers/video/fbdev/core/fbmem.c