aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2022-11-29 16:12:15 +0200
committerPaolo Abeni <[email protected]>2022-12-01 13:40:22 +0100
commit88d64367cea019fa6197d0d97a85ac90279919b7 (patch)
tree5037ff40f128bf2ee1810204f3469585c72f0cc6 /lib/mpi/mpi-add.c
parent02d61948e8daf3844d0af41ba5d563ef03cc7c4f (diff)
net: dpaa2-switch: assign port_priv->mac after dpaa2_mac_connect() call
The dpaa2-switch has the exact same locking requirements when connected to a DPMAC, so it needs port_priv->mac to always point either to NULL, or to a DPMAC with a fully initialized phylink instance. Make the same preparatory change in the dpaa2-switch driver as in the dpaa2-eth one. Signed-off-by: Vladimir Oltean <[email protected]> Reviewed-by: Ioana Ciornei <[email protected]> Tested-by: Ioana Ciornei <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions