Skip to content
Commit 4160d9ec authored by Dan Carpenter's avatar Dan Carpenter Committed by Jakub Kicinski
Browse files

net: mscc: ocelot: fix error code in mscc_ocelot_probe()



Probe should return an error code if platform_get_irq_byname() fails
but it returns success instead.

Fixes: 6c30384e ("net: mscc: ocelot: register devlink ports")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/YBkXyFIl4V9hgxYM@mwanda


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent e0c16233
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment