summaryrefslogtreecommitdiff
path: root/privs.h
diff options
context:
space:
mode:
Diffstat (limited to 'privs.h')
0 files changed, 0 insertions, 0 deletions
ref='/cgit.cgi/linux/net-next.git/tree/?h=nds-private-remove&id=82ba0d8ba48df5442ff31ee6f62b594f062bc162'>43097efd729bc829a33fa8c7170be52d3513b6e9 parent9e4cc255e6e18418ddbeea447efa506bb43d57a2 (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