On 6/30/22 08:31, Bart Van Assche wrote: > Use the enum req_op type for request operations instead of unsigned int. > This patch fixes a sparse warning that has been introduced by making > enum req_op __bitwise. > > Cc: Damien Le Moal <damien.lemoal@xxxxxxxxxxxxxxxxxx> > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> > --- > drivers/md/dm-zone.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/md/dm-zone.c b/drivers/md/dm-zone.c > index 3e7b1fe1580b..2e87237a35a5 100644 > --- a/drivers/md/dm-zone.c > +++ b/drivers/md/dm-zone.c > @@ -361,7 +361,7 @@ static int dm_update_zone_wp_offset(struct mapped_device *md, unsigned int zno, > } > > struct orig_bio_details { > - unsigned int op; > + enum req_op op; > unsigned int nr_sectors; > }; > Looks good. Reviewed-by: Damien Le Moal <damien.lemoal@xxxxxxxxxxxxxxxxxx> -- Damien Le Moal Western Digital Research