Stefan Hajnoczi
2022-Nov-30 20:51 UTC
[PATCH] virtio-blk: replace ida_simple[get|remove] with ida_[alloc_range|free]
On Wed, Nov 30, 2022 at 01:30:03PM +0100, Pankaj Raghav wrote:> ida_simple[get|remove] are deprecated, and are just wrappers to > ida_[alloc_range|free]. Replace ida_simple[get|remove] with their > corresponding counterparts. > > No functional changes. > > Signed-off-by: Pankaj Raghav <p.raghav at samsung.com> > --- > drivers/block/virtio_blk.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-)Chaitanya proposed a similar patch in the past: https://lore.kernel.org/all/20220420041053.7927-5-kch at nvidia.com/ Your patch calculates the max argument correctly. Looks good. Reviewed-by: Stefan Hajnoczi <stefanha at redhat.com> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: not available URL: <http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20221130/031c03f8/attachment.sig>