]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
i40e: fix unsigned stat widths
authorJoe Damato <jdamato@fastly.com>
Thu, 9 Dec 2021 01:56:33 +0000 (17:56 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 20 Jan 2022 18:25:41 +0000 (10:25 -0800)
commit3b8428b84539c78fdc8006c17ebd25afd4722d51
treec9271d8ab76281885ef3945631b94e4f46d5d79f
parent0f344c8129a5337dae50e31b817dd50a60ff238c
i40e: fix unsigned stat widths

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>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_debugfs.c
drivers/net/ethernet/intel/i40e/i40e_main.c