diff options
author | Jules Irenge <jbi.octave@gmail.com> | 2020-03-27 22:23:53 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-04-27 20:01:16 +0200 |
commit | a66dbda7893f48b97d7406ae42fa29190aa672a0 (patch) | |
tree | f3694f6a03c1d2b98729c9d6fcc7911ae875a92a /COPYING | |
parent | rcu: Mark rcu_state.gp_seq to detect more concurrent writes (diff) | |
download | linux-a66dbda7893f48b97d7406ae42fa29190aa672a0.tar.xz linux-a66dbda7893f48b97d7406ae42fa29190aa672a0.zip |
rcu: Replace assigned pointer ret value by corresponding boolean value
Coccinelle reports warnings at rcu_read_lock_held_common()
WARNING: Assignment of 0/1 to bool variable
To fix this,
the assigned pointer ret values are replaced by corresponding boolean value.
Given that ret is a pointer of bool type
Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions