linux/drivers/remoteproc
Suman Anna b39599b7cb remoteproc: fix the error check for idr_alloc
The new idr_alloc interface returns the allocated id back
on success, so fix the error path to check for negative
values. This was missed out in the newer idr interface
adoption patch, 15fc611 "remoteproc: convert to idr_alloc()".

Signed-off-by: Suman Anna <s-anna@ti.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
2013-04-05 08:47:38 +03:00
..
Kconfig arm-soc: multiplatform support 2013-02-21 15:20:41 -08:00
Makefile remoteproc: Add STE modem driver 2012-09-22 16:35:13 +03:00
omap_remoteproc.c Drivers: misc: remove __dev* attributes. 2013-01-03 15:57:16 -08:00
omap_remoteproc.h remoteproc/omap: add a remoteproc driver for OMAP4 2012-02-08 22:53:47 +02:00
remoteproc_core.c remoteproc: fix the error check for idr_alloc 2013-04-05 08:47:38 +03:00
remoteproc_debugfs.c remoteproc: return -EFAULT on copy_from_user failure 2012-09-30 11:44:53 +02:00
remoteproc_elf_loader.c treewide: Fix typos in various drivers 2012-12-03 11:05:04 +01:00
remoteproc_internal.h remoteproc: add actual recovery implementation 2012-09-18 12:53:33 +03:00
remoteproc_virtio.c virtio: make config_ops const 2013-02-11 15:32:17 +10:30
ste_modem_rproc.c remoteproc: Add STE modem driver 2012-09-22 16:35:13 +03:00