Re: [PATCH] md/raid1: Use blk_opf_t for read and write operations

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

 



On Sun, Jan 7, 2024 at 4:12 PM Bart Van Assche <bvanassche@xxxxxxx> wrote:
>
> Use the type blk_opf_t for read and write operations instead of int. This
> patch does not affect the generated code but fixes the following sparse
> warning:
>
> drivers/md/raid1.c:1993:60: sparse: sparse: incorrect type in argument 5 (different base types)
>      expected restricted blk_opf_t [usertype] opf
>      got int rw
>
> Cc: Song Liu <song@xxxxxxxxxx>
> Cc: Jens Axboe <axboe@xxxxxxxxx>
> Fixes: 3c5e514db58f ("md/raid1: Use the new blk_opf_t type")
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202401080657.UjFnvQgX-lkp@xxxxxxxxx/
> Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>

Applied to md-6.8.

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