Home
last modified time | relevance | path

Searched hist:"500 e69a1011d66897a08e000d92bcfd39372337e" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/mfd/
H A Dab8500-core.cdiff 500e69a1011d66897a08e000d92bcfd39372337e Wed Oct 28 04:15:02 CDT 2015 Lee Jones <lee.jones@linaro.org> mfd: ab8500-core: Fix many warnings reported by Checkpatch

WARNING: Block comments use a trailing */ on a separate line
+ * */

WARNING: Block comments use a trailing */ on a separate line
+ * bank on higher 8 bits and reg in lower */

WARNING: Block comments use a trailing */ on a separate line
+ * bank on higher 8 bits and reg in lower */

WARNING: suspect code indent for conditional statements (8, 24)
+ if (unlikely(*offset == 17))
+ *offset = 24;

WARNING: suspect code indent for conditional statements (8, 24)
+ if (unlikely(*offset == 16))
+ *offset = 25;

WARNING: suspect code indent for conditional statements (8, 24)
+ if ((i == 3) && (*offset >= 24))
+ *offset += 2;

WARNING: ENOSYS means 'invalid syscall nr' and nothing else
+ return -ENOSYS;

WARNING: static const char * array should probably be static const char * const
+ static const char *switch_off_status[] = {

WARNING: static const char * array should probably be static const char * const
+ static const char *turn_on_status[] = {

total: 0 errors, 9 warnings, 1867 lines checked

Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>