diff options
author | Jan Beulich <[email protected]> | 2012-01-26 15:47:37 +0000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2012-01-26 21:18:29 +0100 |
commit | fc395b9291925b1880e0afc61274fe2f6ddc1269 (patch) | |
tree | 45dc8b5453cb6d5c4db821d8dfa751b96fec93c3 /lib/mpi/mpi-scan.c | |
parent | 5b68edc91cdc972c46f76f85eded7ffddc3ff5c2 (diff) |
x86: Properly parenthesize cmpxchg() macro arguments
Quite oddly, all of the arguments passed through from the top
level macros to the second level which didn't need parentheses
had them, while the only expression (involving a parameter)
needing them didn't.
Very recently I got bitten by the lack thereof when using
something like "array + index" for the first operand, with
"array" being an array more narrow than int.
Signed-off-by: Jan Beulich <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-scan.c')
0 files changed, 0 insertions, 0 deletions