Re: [PATCH 1/1] isdn: hisax: set error code on failure

From: Sergei Shtylyov
Date: Sun Dec 04 2016 - 05:41:09 EST


On 12/4/2016 1:33 PM, Pan Bian wrote:

You now need to indicate the patch version in hte subject, like this:

[PATCH 1/1 v2] isdn:...

From: Pan Bian <bianpan2016@xxxxxxx>

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, assiging

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@xxxxxxx>
---

And here you're supposed to describe changes in the different patch versions...

[...]

MBR, Sergei