mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 13:24:22 -04:00
net/mlx5e: Use size_t to store byte offset in statistics descriptors
The byte offset of counter descriptors should be stored in size_t variable instead of an integer. Signed-off-by: Gal Pressman <galp@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
This commit is contained in:
committed by
Saeed Mahameed
parent
c045deef64
commit
9da5106c56
@@ -47,7 +47,7 @@
|
||||
|
||||
struct counter_desc {
|
||||
char format[ETH_GSTRING_LEN];
|
||||
int offset; /* Byte offset */
|
||||
size_t offset; /* Byte offset */
|
||||
};
|
||||
|
||||
struct mlx5e_sw_stats {
|
||||
|
||||
Reference in New Issue
Block a user