Re: [PATCH v4 2/2] net: 3com: typhoon: typhoon_init_one: make return values more specific

From: David Miller
Date: Fri Dec 30 2016 - 15:27:24 EST


From: Thomas Preisner <thomas.preisner+linux@xxxxxx>
Date: Fri, 30 Dec 2016 03:37:54 +0100

> In some cases the return value of a failing function is not being used
> and the function typhoon_init_one() returns another negative error code
> instead.
>
> Signed-off-by: Thomas Preisner <thomas.preisner+linux@xxxxxx>
> Signed-off-by: Milan Stephan <milan.stephan+linux@xxxxxx>

Applied to net-next.