]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5e: Fix build error in fec_set_block_stats()
authorJakub Kicinski <kuba@kernel.org>
Sun, 9 Jan 2022 21:33:21 +0000 (13:33 -0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 10 Jan 2022 00:29:55 +0000 (16:29 -0800)
commit342402c426902c59491b43d3056a1039e5ca02db
treef9bc8feac3c1637401906c411ee60ddc9a7ecc87
parent8a27c4d226b5aa76a5ea22b6b9cd5d232e040a5f
net/mlx5e: Fix build error in fec_set_block_stats()

Build bot reports:

drivers/net/ethernet/mellanox/mlx5/core/en_stats.c: In function 'fec_set_block_stats':
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c:1235:48: error: 'outl' undeclared (first use in this function); did you mean 'out'?
    1235 |         if (mlx5_core_access_reg(mdev, in, sz, outl, sz, MLX5_REG_PPCNT, 0, 0))
         |                                                ^~~~
         |                                                out

Reported-by: kernel test robot <lkp@intel.com>
Suggested-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20220109213321.2292830-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c