Re: [PATCH v3 1/2] idr: Add ida_simple_get_cyclic

From: Jason Gunthorpe
Date: Thu Jun 07 2018 - 14:50:50 EST


On Thu, Jun 07, 2018 at 01:14:34PM +0200, Hans Westgaard Ry wrote:
> Signed-off-by: Hans Westgaard Ry <hans.westgaard.ry@xxxxxxxxxx>
> ---
> include/linux/idr.h | 8 +++++--
> lib/idr.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 72 insertions(+), 2 deletions(-)

If you are going to do this you should convert the other places that
open coded this as well..

Jason