summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSimon Budig <simon.budig@kernelconcepts.de>2011-07-04 19:56:01 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-07-04 20:03:40 -0700
commit7bed4b2c97d548c652ada6111604568ea6b0c423 (patch)
tree4d6ddf8d13638ea0cb8461b21c9b35860bf3037a /drivers
parent77da38387e1c6f473744afccd83795805f506498 (diff)
downloadlinux-7bed4b2c97d548c652ada6111604568ea6b0c423.tar.bz2
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 'drivers')
0 files changed, 0 insertions, 0 deletions