diff options
author | Marco Elver <[email protected]> | 2020-05-21 16:20:45 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2020-06-11 20:04:03 +0200 |
commit | 95c094fccb85422eff3c12930ebebbda9278f76b (patch) | |
tree | 36c2bef7ca18abc47f453cd2e518151be054886b /scripts/gdb/linux/modules.py | |
parent | 44b97dccb2291a56454549827adc5e99d94811f3 (diff) |
compiler.h: Avoid nested statement expression in data_race()
It appears that compilers have trouble with nested statement
expressions. Therefore, remove one level of statement expression nesting
from the data_race() macro. This will help avoiding potential problems
in the future as its usage increases.
Reported-by: Borislav Petkov <[email protected]>
Reported-by: Nathan Chancellor <[email protected]>
Signed-off-by: Marco Elver <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Will Deacon <[email protected]>
Tested-by: Nick Desaulniers <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions