lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 18 Mar 2013 00:36:02 +0200
From:	Ohad Ben-Cohen <ohad@...ery.com>
To:	Tejun Heo <tj@...nel.org>
Cc:	Suman Anna <s-anna@...com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] remoteproc: fix the error check for idr_alloc

On Thu, Mar 7, 2013 at 1:13 AM, Tejun Heo <tj@...nel.org> wrote:
> On Wed, Mar 6, 2013 at 2:56 PM, Suman Anna <s-anna@...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@...com>
>> Cc: Tejun Heo <tj@...nel.org>
>> Cc: Ohad Ben-Cohen <ohad@...ery.com>
>
> Acked-by: Tejun Heo <tj@...nel.org>

Thanks Suman, applied to fixes.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ