diff options
| author | Miklos Szeredi <[email protected]> | 2018-10-15 15:43:06 +0200 |
|---|---|---|
| committer | Miklos Szeredi <[email protected]> | 2018-10-15 15:43:06 +0200 |
| commit | edfa87281f4fa1b78a21f6db999935a2faa2f6b8 (patch) | |
| tree | a8cf448df087ed559e97a09f1adf0bb5f7c59f12 /tools/perf/scripts/python/Perf-Trace-Util/Context.c | |
| parent | 18127429a854e7607b859484880b8e26cee9ddab (diff) | |
bitops: protect variables in bit_clear_unless() macro
Unprotected naming of local variables within bit_clear_unless() can easily
lead to using the wrong scope.
Noticed this by code review after having hit this issue in set_mask_bits()
Signed-off-by: Miklos Szeredi <[email protected]>
Fixes: 85ad1d13ee9b ("md: set MD_CHANGE_PENDING in a atomic region")
Cc: Guoqing Jiang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions