Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6ea0754 authored by Emil Tantilov's avatar Emil Tantilov Committed by Jeff Kirsher
Browse files

ixgbe: fix reporting of spoofed packets



Use %u instead of %d to display u32 variable.

Signed-off-by: default avatarEmil Tantilov <emil.s.tantilov@intel.com>
Tested-by: default avatarPhil Schmitt <phillip.j.schmitt@intel.com>
Tested-by: default avatarRobert Garrett <RobertX.Garrett@intel.com>
Tested-by: default avatarRobert Garrett <RobertX.Garrett@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 9f66d3ee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5573,7 +5573,7 @@ static void ixgbe_spoof_check(struct ixgbe_adapter *adapter)
	if (!ssvpc)
		return;

	e_warn(drv, "%d Spoofed packets detected\n", ssvpc);
	e_warn(drv, "%u Spoofed packets detected\n", ssvpc);
}

/**