mbox series

[net-next,0/3] dpaa2-eth: small cleanup

Message ID 20220106135905.81923-1-ioana.ciornei@nxp.com (mailing list archive)
Headers show
Series dpaa2-eth: small cleanup | expand

Message

Ioana Ciornei Jan. 6, 2022, 1:59 p.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org Jan. 7, 2022, 4:10 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Thu,  6 Jan 2022 15:59:02 +0200 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,1/3] dpaa2-mac: bail if the dpmacs fwnode is not found
    https://git.kernel.org/netdev/net-next/c/5b1e38c0792c
  - [net-next,2/3] dpaa2-mac: return -EPROBE_DEFER from dpaa2_mac_open in case the fwnode is not set
    https://git.kernel.org/netdev/net-next/c/4e30e98c4b4c
  - [net-next,3/3] dpaa2-switch: check if the port priv is valid
    https://git.kernel.org/netdev/net-next/c/d1a9b84183e8

You are awesome, thank you!