diff options
author | Yu Kuai <yukuai3@huawei.com> | 2024-06-15 16:51:43 +0800 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2024-07-04 06:11:53 +0000 |
commit | 2314c2e3a70521f055dd011245dccf6fd97c7ee0 (patch) | |
tree | dc68a2e350ab0df67788a6cf973768b2cc7476b4 /drivers/md/raid0.c | |
parent | 98d34c087249d39838874b83e17671e7d5eb1ca7 (diff) | |
download | lwn-2314c2e3a70521f055dd011245dccf6fd97c7ee0.tar.gz lwn-2314c2e3a70521f055dd011245dccf6fd97c7ee0.zip |
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: stable@vger.kernel.org
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20240615085143.1648223-1-yukuai1@huaweicloud.com
Diffstat (limited to 'drivers/md/raid0.c')
0 files changed, 0 insertions, 0 deletions