[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220106135905.81923-1-ioana.ciornei@nxp.com>
Date: Thu, 6 Jan 2022 15:59:02 +0200
From: Ioana Ciornei <ioana.ciornei@....com>
To: davem@...emloft.net, kuba@...nel.org
Cc: netdev@...r.kernel.org, robert-ionut.alexa@....com,
Ioana Ciornei <ioana.ciornei@....com>
Subject: [PATCH net-next 0/3] dpaa2-eth: small cleanup
These 3 patches are just part of a small cleanup on the dpaa2-eth and
the dpaa2-switch drivers.
In case we are hitting a case in which the fwnode of the root dprc
device we initiate a deferred probe. On the dpaa2-switch side, if we are
on the remove path, make sure that we check for a non-NULL pointer
before accessing the port private structure.
Ioana Ciornei (2):
dpaa2-mac: return -EPROBE_DEFER from dpaa2_mac_open in case the fwnode
is not set
dpaa2-switch: check if the port priv is valid
Robert-Ionut Alexa (1):
dpaa2-mac: bail if the dpmacs fwnode is not found
.../net/ethernet/freescale/dpaa2/dpaa2-mac.c | 20 +++++++++++++++++--
.../ethernet/freescale/dpaa2/dpaa2-switch.c | 9 ++++++---
2 files changed, 24 insertions(+), 5 deletions(-)
--
2.33.1
Powered by blists - more mailing lists