Skip to content
Commit f8d530ac authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller
Browse files

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: 31ad4e4e ("ice: Allocate flow profile")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 654cad8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment