]> www.infradead.org Git - users/willy/xarray.git/commit
block: Simplify definition of RQF_NAME()
authorJohn Garry <john.g.garry@oracle.com>
Fri, 19 Jul 2024 11:29:11 +0000 (11:29 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 19 Jul 2024 15:32:49 +0000 (09:32 -0600)
commit2d61a6c2ca7aadce3771f81a3624848f97dcc39e
treeef9d54d46d8c18d12618ab04529c45acce725095
parent5f89154e8e9e3445f9b592e58a7045e06153b822
block: Simplify definition of RQF_NAME()

Now that we have a bit index for RQF_x in __RQF_x, use __RQF_x to simplify
the definition of RQF_NAME() by not using ilog2((__force u32()).

Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20240719112912.3830443-15-john.g.garry@oracle.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-debugfs.c