Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: dsa: return early if there is no master
It doesn't make sense to have DSA without a master port. Error out early if there is no master port. Fixes: fc054d5 ("net: Introduce DSA class for Ethernet switches") Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
- Loading branch information