Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7bed4b2c authored by Simon Budig's avatar Simon Budig Committed by Dmitry Torokhov
Browse files

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: default avatarSimon Budig <simon.budig@kernelconcepts.de>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 77da3838
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment