diff options
author | Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> | 2018-03-09 23:46:08 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-12 10:57:59 -0400 |
commit | 6ae777eab2f53b50d84a5d75a48d2d149f787da8 (patch) | |
tree | e605a68c23c0a914c17d209664a86b22e6aaa7e2 /kernel/fail_function.c | |
parent | 832aed16ce7af2a43dafe9d4bc9080322e042cde (diff) | |
download | linux-6ae777eab2f53b50d84a5d75a48d2d149f787da8.tar.gz linux-6ae777eab2f53b50d84a5d75a48d2d149f787da8.tar.bz2 linux-6ae777eab2f53b50d84a5d75a48d2d149f787da8.zip |
bnxt_en: Return standard Linux error codes for hwrm flow cmds.
Currently, internal error value is returned by the driver, when
hwrm_cfa_flow_alloc() fails due lack of resources. We should be returning
Linux errno value -ENOSPC instead.
This patch also converts other similar command errors to standard Linux errno
code (-EIO) in bnxt_tc.c
Fixes: db1d36a27324 ("bnxt_en: add TC flower offload flow_alloc/free FW cmds")
Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/fail_function.c')
0 files changed, 0 insertions, 0 deletions