]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
i40e: fix unsigned stat widths
authorJoe Damato <jdamato@fastly.com>
Thu, 9 Dec 2021 01:56:33 +0000 (17:56 -0800)
committerPaolo Pisati <paolo.pisati@canonical.com>
Thu, 3 Feb 2022 09:28:49 +0000 (10:28 +0100)
commit55ea24acbc93928c137d280450a3f12c65a15a1b
tree1e292bd11ea65f3a3be09d11e9682e8ca5b8551f
parentd866b7dcd67fdc91b6fa297e6717ca0aadcd1d96
i40e: fix unsigned stat widths

BugLink: https://bugs.launchpad.net/bugs/1959879
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>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_debugfs.c
drivers/net/ethernet/intel/i40e/i40e_main.c