提交 9da5106c 编写于 作者: G Gal Pressman 提交者: Saeed Mahameed

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: NGal Pressman <galp@mellanox.com>
Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
上级 c045deef
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册