On Fri, Apr 18, 2014 at 08:49:52PM +0800, Lai Jiangshan wrote:> @@ -1135,7 +1136,7 @@ void ida_simple_remove(struct ida *ida, unsigned int id)> {> unsigned long flags;> > - BUG_ON((int)id < 0);> + WARN_ON_ONCE((int)id < 0);Shouldn't this be moved to ida_remove()? Also, it probably shouldreturn afterwards?Thanks.-- tejun