diff options
author | 2015-10-28 09:15:02 +0000 | |
---|---|---|
committer | 2016-01-14 08:43:54 +0000 | |
commit | 500e69a1011d66897a08e000d92bcfd39372337e (patch) | |
tree | d2ccdffd855c539361a026cef0e1641b7e8d95e0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mfd: ab2100-otp: Remove pointless 'out of memory' error message (diff) | |
download | linux-dev-500e69a1011d66897a08e000d92bcfd39372337e.tar.xz linux-dev-500e69a1011d66897a08e000d92bcfd39372337e.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions