]> git.baikalelectronics.ru Git - kernel.git/commit
staging: most-core: Fix checkpatch warnings
authorPeikan Tsai <peikantsai@gmail.com>
Sun, 25 Aug 2019 17:58:49 +0000 (01:58 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Aug 2019 17:01:26 +0000 (19:01 +0200)
commita393393c724089c730ea9aac97d8206343ac2aca
treef6ac7419d0969ceec9af38e0512205a44fb6fb19
parent79337a4ec8b6f8f2e05596e3174e5e3362c533c1
staging: most-core: Fix checkpatch warnings

Hi,

This patch solves the following checkpatch.pl's messages in drivers/staging/most/core.c.

WARNING: line over 80 characters
+ return snprintf(buf, PAGE_SIZE, "%s", ch_data_type[i].name);

CHECK: Please use a blank line after function/struct/union/enum declarations
+}
+/**

Signed-off-by: Peikan Tsai <peikantsai@gmail.com>
Link: https://lore.kernel.org/r/20190825175849.GA74586@MarkdeMacBook-Pro.local
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/core.c