Re: [PATCH -next] md/raid5: fix spares errors about rcu usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jun 15, 2024 at 4:52 PM Yu Kuai <yukuai1@xxxxxxxxxxxxxxx> wrote:
>
> From: Yu Kuai <yukuai3@xxxxxxxxxx>
>
> 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")
> Signed-off-by: Yu Kuai <yukuai3@xxxxxxxxxx>

Applied to md-6.11. Thanks!

Song





[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux