ice: fix misuse of "link err" with "link status"
authorJacob Keller <jacob.e.keller@intel.com>
Mon, 5 Dec 2022 19:52:42 +0000 (11:52 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 8 Dec 2022 19:13:21 +0000 (11:13 -0800)
commit11722c39c8d91cfb97197f8f5e2d45c9ebf27bb6
tree7480c09ded5e6f333b7420b7077db999808f30bf
parent407b66c07e9837cd11564746faaac4f32a0c5c5b
ice: fix misuse of "link err" with "link status"

The ice_ptp_link_change function has a comment which mentions "link
err" when referring to the current link status. We are storing the status
of whether link is up or down, which is not an error.

It is appears that this use of err accidentally got included due to an
overzealous search and replace when removing the ice_status enum and local
status variable.

Fix the wording to use the correct term.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_ptp.c