Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932733Ab3CQWgZ (ORCPT ); Sun, 17 Mar 2013 18:36:25 -0400 Received: from mail-la0-f49.google.com ([209.85.215.49]:48406 "EHLO mail-la0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755757Ab3CQWgY (ORCPT ); Sun, 17 Mar 2013 18:36:24 -0400 MIME-Version: 1.0 X-Originating-IP: [109.186.17.83] In-Reply-To: References: <1362610608-64885-1-git-send-email-s-anna@ti.com> From: Ohad Ben-Cohen Date: Mon, 18 Mar 2013 00:36:02 +0200 Message-ID: Subject: Re: [PATCH] remoteproc: fix the error check for idr_alloc To: Tejun Heo Cc: Suman Anna , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 815 Lines: 19 On Thu, Mar 7, 2013 at 1:13 AM, Tejun Heo wrote: > On Wed, Mar 6, 2013 at 2:56 PM, Suman Anna 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 >> Cc: Tejun Heo >> Cc: Ohad Ben-Cohen > > Acked-by: Tejun Heo Thanks Suman, applied to fixes. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/