On Tue, 23 Apr 2019 08:31:08 +0200, Jiri Pirko wrote: > Mon, Apr 22, 2019 at 09:23:38PM CEST, jakub.kicin...@netronome.com wrote: > >On Sat, 20 Apr 2019 12:29:14 +0200, Jiri Pirko wrote: > >> - err = ida_alloc(&nsim_bus_dev_ids, GFP_KERNEL); > >> + err = ida_alloc_range(&nsim_bus_dev_ids, > >> + id == ~0 ? 0 : id, id, GFP_KERNEL); > > > >#define for ~0 ? > > Sure, but this is remove in patch 15. Is it necessary?
Oh, I missed that.