diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2020-04-27 12:12:28 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-30 20:29:09 -0700 |
commit | f8d530ac29fe9248f5e58ca5bcf4c368f8393ccf (patch) | |
tree | 6582d1fd108ce0a1c9df18d058c8e55830f4730d /drivers/net/ethernet/nxp/lpc_eth.c | |
parent | 654cad8b6a17dcb00077070b27bc65873951a568 (diff) | |
download | linux-f8d530ac29fe9248f5e58ca5bcf4c368f8393ccf.tar.gz linux-f8d530ac29fe9248f5e58ca5bcf4c368f8393ccf.tar.bz2 linux-f8d530ac29fe9248f5e58ca5bcf4c368f8393ccf.zip |
ice: Fix error return code in ice_add_prof()
Fix to return a error code from the error handling case
instead of 0, as done elsewhere in this function.
Fixes: 31ad4e4ee1e4 ("ice: Allocate flow profile")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/nxp/lpc_eth.c')
0 files changed, 0 insertions, 0 deletions