projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vdpa: Use simpler version of ida allocation
[linux-2.6-microblaze.git]
/
drivers
/
vdpa
/
vdpa.c
diff --git
a/drivers/vdpa/vdpa.c
b/drivers/vdpa/vdpa.c
index
a69ffc9
..
c082565
100644
(file)
--- a/
drivers/vdpa/vdpa.c
+++ b/
drivers/vdpa/vdpa.c
@@
-89,7
+89,7
@@
struct vdpa_device *__vdpa_alloc_device(struct device *parent,
if (!vdev)
goto err;
- err = ida_
simple_get(&vdpa_index_ida, 0, 0
, GFP_KERNEL);
+ err = ida_
alloc(&vdpa_index_ida
, GFP_KERNEL);
if (err < 0)
goto err_ida;