iavf: return errno code instead of status code
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 4 Jun 2021 16:53:34 +0000 (09:53 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 30 Nov 2021 16:56:06 +0000 (08:56 -0800)
commit9f4651ea3e07339b460d403ff01b7cc2178fef7b
tree542a6c7a2814dd6045967700c992571e1d691ac1
parentf1db020ba4eff3b2a1e3de476fe39a0d836a5303
iavf: return errno code instead of status code

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>
drivers/net/ethernet/intel/iavf/iavf_main.c