diff options
| author | Logan Gunthorpe <[email protected]> | 2022-06-08 10:27:53 -0600 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-08-02 17:14:32 -0600 |
| commit | 6f28c5c3128c79f628da2aee2f8128aaa3b91f22 (patch) | |
| tree | daa03a56356e8c4840561c1381ab2953ccaef95c /scripts/stackusage | |
| parent | b13015af94cf405f73ff64ce0797269554020c37 (diff) | |
md/raid5-cache: Annotate pslot with __rcu notation
radix_tree_lookup_slot() and radix_tree_replace_slot() API expect the
slot returned and looked up to be marked with __rcu. Otherwise
sparse warnings are generated:
drivers/md/raid5-cache.c:2939:23: warning: incorrect type in
assignment (different address spaces)
drivers/md/raid5-cache.c:2939:23: expected void **pslot
drivers/md/raid5-cache.c:2939:23: got void [noderef] __rcu **
Signed-off-by: Logan Gunthorpe <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions