]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
i40e: fix unsigned stat widths
authorJoe Damato <jdamato@fastly.com>
Thu, 9 Dec 2021 01:56:33 +0000 (17:56 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Feb 2022 17:16:25 +0000 (18:16 +0100)
commit1ea6fbb9c4520f5d5004c67a8e27cbfc1ccc7b3a
treef82562e0705d3f9a52ac12e75def03af200bfb90
parent7b15744ec0bbe7d4401217bb53303ced6f2e8f98
i40e: fix unsigned stat widths

commit 3b8428b84539c78fdc8006c17ebd25afd4722d51 upstream.

Change i40e_update_vsi_stats and struct i40e_vsi to use u64 fields to match
the width of the stats counters in struct i40e_rx_queue_stats.

Update debugfs code to use the correct format specifier for u64.

Fixes: 41c445ff0f48 ("i40e: main driver core")
Signed-off-by: Joe Damato <jdamato@fastly.com>
Reported-by: kernel test robot <lkp@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_debugfs.c
drivers/net/ethernet/intel/i40e/i40e_main.c