Re: [PATCH] virtio: Directly use ida_alloc_range()/ida_free()

From: Christophe JAILLET
Date: Thu Jun 09 2022 - 00:59:35 EST


Le 09/06/2022 à 02:42, tomorrow Wang (王德明) a écrit :

An explanation in the commit log of why the -1 is needed would also help
reviewer/maintainer, IMHO.

It IS correct, but it is not that obvious without looking at
ida_simple_get() and ida_alloc_range().


can I mention one patch about repair ida_free for this.



If you manage to find another patch and provide a lore.kernel.org link to it, I think it should be okay.

However, after a *quick* look in some mailing list, I've not found yet a description for that.

CJ