Skip to content
Commit 0cd523ee authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

octeon_ep: Fix error code in probe()



Set the error code if octep_ctrl_net_get_mtu() fails.  Currently the code
returns success.

Fixes: 0a5f8534 ("octeon_ep: get max rx packet length from firmware")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: default avatarSathesh B Edara <sedara@marvell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 86b88965
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