OSDN Git Service

Merge branch 'dpaa2-eth-small-cleanup'
authorJakub Kicinski <kuba@kernel.org>
Fri, 7 Jan 2022 03:56:31 +0000 (19:56 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 7 Jan 2022 03:56:32 +0000 (19:56 -0800)
Ioana Ciornei says:

====================
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.
====================

Link: https://lore.kernel.org/r/20220106135905.81923-1-ioana.ciornei@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge