]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: dpaa2-eth: rearrange variable in dpaa2_eth_get_ethtool_stats
authorIoana Ciornei <ioana.ciornei@nxp.com>
Tue, 18 Oct 2022 14:18:51 +0000 (17:18 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2025 13:57:49 +0000 (15:57 +0200)
commit3f0b6236e11f980e45d46998c707572785bc019f
tree27ce443d93fd5f1051debc15ab104ffffd57182d
parentb2e1b676711ebb9b30742bb389053eb3f241eb58
net: dpaa2-eth: rearrange variable in dpaa2_eth_get_ethtool_stats

[ Upstream commit 3313206827678f6f036eca601a51f6c4524b559a ]

Rearrange the variables in the dpaa2_eth_get_ethtool_stats() function so
that we adhere to the reverse Christmas tree rule.
Also, in the next patch we are adding more variables and I didn't know
where to place them with the current ordering.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 2def09ead4ad ("dpaa2-eth: fix xdp_rxq_info leak")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c