[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161205.150454.1689858963074461020.davem@davemloft.net>
Date: Mon, 05 Dec 2016 15:04:54 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: bianpan201603@....com
Cc: sergei.shtylyov@...entembedded.com, isdn@...ux-pingi.de,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
bianpan2016@....com
Subject: Re: [PATCH 1/1 v2] isdn: hisax: set error code on failure
From: Pan Bian <bianpan201603@....com>
Date: Sun, 4 Dec 2016 18:43:31 +0800
> From: Pan Bian <bianpan2016@....com>
>
> In function hfc4s8s_probe(), the value of return variable err should be
> negative on failures. However, when the call to request_region() returns
> NULL, the value of err is 0. This patch fixes the bug, assigning
> "-EBUSY" to err on the path that request_region() fails.
>
> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188931
>
> Signed-off-by: Pan Bian <bianpan2016@....com>
Applied.
Powered by blists - more mailing lists