Messages in this thread | | | Date | Wed, 6 Mar 2013 15:13:17 -0800 | Subject | Re: [PATCH] remoteproc: fix the error check for idr_alloc | From | Tejun Heo <> |
| |
On Wed, Mar 6, 2013 at 2:56 PM, Suman Anna <s-anna@ti.com> wrote: > 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> > Cc: Tejun Heo <tj@kernel.org> > Cc: Ohad Ben-Cohen <ohad@wizery.com>
Acked-by: Tejun Heo <tj@kernel.org>
Sorry about that.
-- tejun
| |