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:Jacob Keller <jacob.e.keller@intel.com> Tested-by:
Konrad Jankowski <konrad0.jankowski@intel.com> Signed-off-by:
Tony Nguyen <anthony.l.nguyen@intel.com> Stable-dep-of: 6650c8e9 ("iavf/iavf_main: actually log ->src mask when talking about it") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment