diff options
author | Yu Kuai <[email protected]> | 2024-06-15 16:51:43 +0800 |
---|---|---|
committer | Song Liu <[email protected]> | 2024-07-04 06:11:53 +0000 |
commit | 2314c2e3a70521f055dd011245dccf6fd97c7ee0 (patch) | |
tree | dc68a2e350ab0df67788a6cf973768b2cc7476b4 /drivers/fpga/fpga-bridge.c | |
parent | 98d34c087249d39838874b83e17671e7d5eb1ca7 (diff) |
md/raid5: fix spares errors about rcu usage
As commit ad8606702f26 ("md/raid5: remove rcu protection to access rdev
from conf") explains, rcu protection can be removed, however, there are
three places left, there won't be any real problems.
drivers/md/raid5.c:8071:24: error: incompatible types in comparison expression (different address spaces):
drivers/md/raid5.c:8071:24: struct md_rdev [noderef] __rcu *
drivers/md/raid5.c:8071:24: struct md_rdev *
drivers/md/raid5.c:7569:25: error: incompatible types in comparison expression (different address spaces):
drivers/md/raid5.c:7569:25: struct md_rdev [noderef] __rcu *
drivers/md/raid5.c:7569:25: struct md_rdev *
drivers/md/raid5.c:7573:25: error: incompatible types in comparison expression (different address spaces):
drivers/md/raid5.c:7573:25: struct md_rdev [noderef] __rcu *
drivers/md/raid5.c:7573:25: struct md_rdev *
Fixes: ad8606702f26 ("md/raid5: remove rcu protection to access rdev from conf")
Cc: [email protected]
Signed-off-by: Yu Kuai <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions