[Intel-wired-lan] [next-queue v4 07/13] ice: use 'int err' instead of 'int status'

G, GurucharanX gurucharanx.g at intel.com
Thu Aug 26 03:46:52 UTC 2021

> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Tony Nguyen
> Sent: Tuesday, August 24, 2021 5:32 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next-queue v4 07/13] ice: use 'int err' instead of
> 'int status'
> From: Jacob Keller <jacob.e.keller at intel.com>
> The ice_ptp_hw.c file introduced a bunch of uses of "int status" instead of
> the more traditional "int err" or "int ret". These are actually traditional Linux
> error codes (as opposed to the ice_status enumeration values), so lets
> convert them all now to use "int err" for clarity. This is likely an artifact of
> refactoring this code to minimize the use of ice_status enumeration in
> preparation for removing it. We want to avoid adding any new usages of the
> status enum.
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 206 ++++++++++----------
>  1 file changed, 103 insertions(+), 103 deletions(-)

Tested-by: Gurucharan G <gurucharanx.g at intel.com> (A Contingent worker at Intel)

More information about the Intel-wired-lan mailing list