[Intel-wired-lan] [next PATCH S53-V3 1/5] i40e: use unsigned printf format specifier for active_filters count
Bowers, AndrewX
andrewx.bowers at intel.com
Mon Nov 21 23:11:34 UTC 2016
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Bimmy Pujari
> Sent: Monday, November 21, 2016 1:04 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S53-V3 1/5] i40e: use unsigned printf
> format specifier for active_filters count
>
> From: Jacob Keller <jacob.e.keller at intel.com>
>
> Replace the %d specifier used for printing vsi->active_filters and
> vsi->promisc_threshold with an unsigned %u format specifier. While it is
> unlikely in practice that these values will ever reach such a large number they
> are unsigned values and thus should not be interpreted as negative
> numbers.
>
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> Change-ID: Iff050fad5a1c8537c4c57fcd527441cd95cfc0d4
> ---
> drivers/net/ethernet/intel/i40e/i40e_debugfs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list