commit | 0cd523ee864243c9bdb9d52776613e62b992f6bf | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@linaro.org> | Tue Nov 28 16:13:19 2023 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 01 10:57:09 2023 +0000 |
tree | 3e350acbe3e1cd58c8a24f996f46d806aebdb14a | |
parent | 86b889657a54899442b5742a8d7c85f29668a981 [diff] |
octeon_ep: Fix error code in probe() Set the error code if octep_ctrl_net_get_mtu() fails. Currently the code returns success. Fixes: 0a5f8534e398 ("octeon_ep: get max rx packet length from firmware") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Sathesh B Edara <sedara@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>