diff options
author | Tejun Heo <tj@kernel.org> | 2013-02-28 02:04:00 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-28 04:10:15 +0100 |
commit | b051f6edc29c084a6440e9731bc85d95b6b95e14 (patch) | |
tree | 6675b9de4a1b74babf9c450888a9b3495b2ffaa9 /drivers/atm/horizon.h | |
parent | block/loop: convert to idr_alloc() (diff) | |
download | linux-b051f6edc29c084a6440e9731bc85d95b6b95e14.tar.xz linux-b051f6edc29c084a6440e9731bc85d95b6b95e14.zip |
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 <tj@kernel.org>
Acked-by: Chas Williams <chas@cmf.nrl.navy.mil>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/atm/horizon.h')
0 files changed, 0 insertions, 0 deletions