aboutsummaryrefslogtreecommitdiff
path: root/include/linux/input
diff options
context:
space:
mode:
authorSimon Budig2011-07-04 19:56:01 -0700
committerDmitry Torokhov2011-07-04 20:03:40 -0700
commit7bed4b2c97d548c652ada6111604568ea6b0c423 (patch)
tree4d6ddf8d13638ea0cb8461b21c9b35860bf3037a /include/linux/input
parent77da38387e1c6f473744afccd83795805f506498 (diff)
Input: add guarding parentheses to macros
Put parentheses around macro argument uses. This avoids pitfalls for the programmer, where the argument expansion does not give the expected result, for example: ioctl (fd, EVIOCGABS (have_mt ? ABS_MT_POSITION_X : ABS_X), &abs); Signed-off-by: Simon Budig <simon.budig@kernelconcepts.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/input')
0 files changed, 0 insertions, 0 deletions