Re: [PATCH 1/1] netdev: broadcom: propagate error code

From: David Miller
Date: Mon Dec 05 2016 - 13:26:59 EST


From: Pan Bian <bianpan2016@xxxxxxx>
Date: Sat, 3 Dec 2016 17:56:17 +0800

> Function bnxt_hwrm_stat_ctx_alloc() always returns 0, even if the call
> to _hwrm_send_message() fails. It may be better to propagate the errors
> to the caller of bnxt_hwrm_stat_ctx_alloc().
>
> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188661
>
> Signed-off-by: Pan Bian <bianpan2016@xxxxxxx>

Applied.