Re: [PATCH] qlcnic: Fix return value in qlcnic_probe()

From: David Miller
Date: Wed Dec 31 2014 - 19:21:46 EST


From: xuyongjiande@xxxxxxx
Date: Tue, 30 Dec 2014 16:03:46 +0800

> From: Yongjian Xu <xuyongjiande@xxxxxxxxx>
>
> If the check of adapter fails and goes into the 'else' branch, the
> return value 'err' should not still be zero.
>
> Signed-off-by: Yongjian Xu <xuyongjiande@xxxxxxxxx>

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