diff options
| author | Luc Van Oostenryck <[email protected]> | 2020-08-12 01:34:35 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-08-12 17:57:59 +0000 |
| commit | 0a650e472d2039a5f768acd82f2a7068bf338dfd (patch) | |
| tree | 271437a87c00b17df8a9e5a37115b724f35dfaf0 /lib/test_bitops.c | |
| parent | lib/test_bitmap.c: add test for bitmap_cut() (diff) | |
| download | kernel-0a650e472d2039a5f768acd82f2a7068bf338dfd.tar.gz kernel-0a650e472d2039a5f768acd82f2a7068bf338dfd.zip | |
lib/generic-radix-tree.c: remove unneeded __rcu
struct __genradix is defined as having its member 'root'
annotated as __rcu. But in the corresponding API RCU is not used.
Sparse reports this type mismatch as:
lib/generic-radix-tree.c:56:35: warning: incorrect type in initializer (different address spaces)
lib/generic-radix-tree.c:56:35: expected struct genradix_root *r
lib/generic-radix-tree.c:56:35: got struct genradix_root [noderef] <asn:4> *__val
with 6 other ones.
So, correct root's type by removing this unneeded __rcu.
Signed-off-by: Luc Van Oostenryck <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Cc: Kent Overstreet <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test_bitops.c')
0 files changed, 0 insertions, 0 deletions
