commit | e22c96848c14006bb525355465e9cf0d29a5dec3 | [log] [tgz] |
---|---|---|
author | Vladimir Oltean <vladimir.oltean@nxp.com> | Mon Sep 27 14:22:02 2021 +0300 |
committer | Ramon Fried <rfried.dev@gmail.com> | Tue Sep 28 18:50:57 2021 +0300 |
tree | f07ce90b4de25d8a289373cc54ee75d594bf5080 | |
parent | 1034139e697392bfb61b633668deb21bb36a962f [diff] |
net: dsa: felix: check return code of mdio_alloc and mdio_register These functions can return errors, it's best to catch them and trigger the driver unwind code path. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>