]> git.dujemihanovic.xyz Git - linux.git/commit
net: dpaa2-switch replace direct MAC access with dpaa2_switch_port_has_mac()
authorVladimir Oltean <vladimir.oltean@nxp.com>
Tue, 29 Nov 2022 14:12:17 +0000 (16:12 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 1 Dec 2022 12:40:22 +0000 (13:40 +0100)
commitbc230671bfb25c2d3c225f674fe6c03cea88d22e
tree7f20ca3a598e085e585f070f3081a80aebc5aaf0
parent29811d6e19d795efcf26644b66c4152abbac35a6
net: dpaa2-switch replace direct MAC access with dpaa2_switch_port_has_mac()

The helper function will gain a lockdep annotation in a future patch.
Make sure to benefit from it.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Tested-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-ethtool.c