diff options
author | 2017-08-17 17:00:17 +0200 | |
---|---|---|
committer | 2017-08-18 15:57:15 -0700 | |
commit | e221b2b11bdc3f5b0a42165422335044c472964b (patch) | |
tree | 96f934961bda321dcbd428a5d9cdc68b9f1a4fc9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: pi433: replace logical not with bitwise (diff) | |
download | wireguard-linux-e221b2b11bdc3f5b0a42165422335044c472964b.tar.xz wireguard-linux-e221b2b11bdc3f5b0a42165422335044c472964b.zip |
staging: pi433: replace INVALID_PARAM macro with inline code
The following macro:
\#define INVALID_PARAM
{ \
dev_dbg(&spi->dev, "set: illegal input param"); \
return -EINVAL; \
}
affects control flow by having return statement. This is against
Linux Kernel Coding Style and should be avoided and therefore
this macro is replaced by inline code.
Additionally following 3 minor issues:
ERROR: code indent should use tabs where possible
ERROR: spaces required around that '!=' (ctx:VxV)
ERROR: space prohibited before that close parenthesis ')'
were fiexed inline.
Signed-off-by: Marcin Ciupak <marcin.s.ciupak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions