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