On 6/30/22 08:30, Bart Van Assche wrote: > Use the new blk_opf_t type for an argument that represents a bitwise > combination of a request operation and request flags. > > This patch does not change any functionality. > > Cc: Damien Le Moal <damien.lemoal@xxxxxxx> > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> > --- > block/mq-deadline.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/block/mq-deadline.c b/block/mq-deadline.c > index 1a9e835e816c..c5589e9155e6 100644 > --- a/block/mq-deadline.c > +++ b/block/mq-deadline.c > @@ -543,7 +543,7 @@ static struct request *dd_dispatch_request(struct blk_mq_hw_ctx *hctx) > * Called by __blk_mq_alloc_request(). The shallow_depth value set by this > * function is used by __blk_mq_get_tag(). > */ > -static void dd_limit_depth(unsigned int op, struct blk_mq_alloc_data *data) > +static void dd_limit_depth(blk_opf_t op, struct blk_mq_alloc_data *data) > { > struct deadline_data *dd = data->q->elevator->elevator_data; > Looks good. Reviewed-by: Damien Le Moal <damien.lemoal@xxxxxxxxxxxxxxxxxx> -- Damien Le Moal Western Digital Research