Commit 5de95744 authored by Jacob Keller's avatar Jacob Keller Committed by Tony Nguyen
Browse files

ice: fix a long line warning in ice_reset_vf



We're about to move ice_reset_vf out of ice_sriov.c and into
ice_vf_lib.c

One of the dev_err statements has a checkpatch.pl violation due to
putting the vf->vf_id on the same line as the dev_err. Fix this style
issue first before moving the code.

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>
parent 9c6f7878
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1251,7 +1251,8 @@ bool ice_reset_vf(struct ice_vf *vf, bool is_vflr)
	ice_vf_pre_vsi_rebuild(vf);
	ice_vf_pre_vsi_rebuild(vf);


	if (vf->vf_ops->vsi_rebuild(vf)) {
	if (vf->vf_ops->vsi_rebuild(vf)) {
		dev_err(dev, "Failed to release and setup the VF%u's VSI\n", vf->vf_id);
		dev_err(dev, "Failed to release and setup the VF%u's VSI\n",
			vf->vf_id);
		return false;
		return false;
	}
	}