Skip to content
Commit b2d29830 authored by Jacob Keller's avatar Jacob Keller Committed by Greg Kroah-Hartman
Browse files

iavf: return errno code instead of status code



[ Upstream commit 9f4651ea ]

The iavf_parse_cls_flower function returns an integer error code, and
not an iavf_status enumeration.

Fix the function to use the standard errno value EINVAL as its return
instead of using IAVF_ERR_CONFIG.

Signed-off-by: default avatarJacob Keller <jacob.e.keller@intel.com>
Tested-by: default avatarKonrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
Stable-dep-of: 6650c8e9 ("iavf/iavf_main: actually log ->src mask when talking about it")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent cdf3f5ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment