From: Tejun Heo Date: Thu, 28 Feb 2013 01:04:00 +0000 (-0800) Subject: atm/nicstar: convert to idr_alloc() X-Git-Tag: v3.9-rc1~46^2~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b051f6edc29c084a6440e9731bc85d95b6b95e14;p=pandora-kernel.git atm/nicstar: convert to idr_alloc() Convert to the much saner new idr interface. The existing code looks buggy to me - ID 0 is treated as no-ID but allocation specifies 0 as lower limit and there's no error handling after partial success. This conversion keeps the bugs unchanged. Signed-off-by: Tejun Heo Acked-by: Chas Williams Reported-by: kbuild test robot Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed