diff options
author | Simon Budig <simon.budig@kernelconcepts.de> | 2011-07-04 19:56:01 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-07-04 20:03:40 -0700 |
commit | 7bed4b2c97d548c652ada6111604568ea6b0c423 (patch) | |
tree | 4d6ddf8d13638ea0cb8461b21c9b35860bf3037a /include/linux/input | |
parent | 77da38387e1c6f473744afccd83795805f506498 (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