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

From: Michael Chan
Date: Sat Dec 03 2016 - 13:50:39 EST


On Sat, Dec 3, 2016 at 1:56 AM, Pan Bian <bianpan2016@xxxxxxx> wrote:
> 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>

Acked-by: Michael Chan <michael.chan@xxxxxxxxxxxx>