[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161205.145328.1580734576600372225.davem@davemloft.net>
Date: Mon, 05 Dec 2016 14:53:28 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: bianpan201603@....com
Cc: samuel@...tiz.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, bianpan2016@....com
Subject: Re: [PATCH 1/1] net: irda: set error code on failures
From: Pan Bian <bianpan201603@....com>
Date: Sun, 4 Dec 2016 13:27:40 +0800
> From: Pan Bian <bianpan2016@....com>
>
> When the calls to kzalloc() fail, the value of return variable ret may
> be 0. 0 means success in this context. This patch fixes the bug,
> assigning "-ENOMEM" to ret before calling kzalloc().
>
> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188971
>
> Signed-off-by: Pan Bian <bianpan2016@....com>
Applied.
Powered by blists - more mailing lists