diff options
author | Rui Teng <rui.teng@linux.vnet.ibm.com> | 2016-04-26 09:45:13 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-04-29 13:59:00 -0700 |
commit | 82ba0d8ba48df5442ff31ee6f62b594f062bc162 (patch) | |
tree | 43097efd729bc829a33fa8c7170be52d3513b6e9 /ipc | |
parent | 9e4cc255e6e18418ddbeea447efa506bb43d57a2 (diff) |
Input: twl4030 - fix unsafe macro definition
The bitwise shift operator has lower priority than plus operator. So the
values on macros should be enclosed in parentheses.
For example, "(1 << 4 + 1)" means "(1 << (4 + 1))", but it is not expected
by the macros.
And also fix other two coding style problems reported by
scripts/checkpatch.pl.
Signed-off-by: Rui Teng <rui.teng@linux.vnet.ibm.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions