diff options
author | Pan Bian <bianpan2016@163.com> | 2016-12-03 17:56:17 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-05 13:25:38 -0500 |
commit | 89aa8445cd4e8c2556c40d42dd0ceb2cbb96ba78 (patch) | |
tree | dd0b8d834d7706e39124d5042c3b12f5ef09cbd0 /net | |
parent | 2279b752ac5c2d3592fe6fe5610c123c2ee8b37c (diff) |
netdev: broadcom: propagate error code
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@163.com>
Acked-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions