ACK: [SRU][J:linux-bluefield][PATCH v1 0/1] net/mlxbf_gige: Fix an IS_ERR() vs NULL bug in mlxbf_gige_mdio_probe
Kleber Souza
kleber.sacilotto.de.souza at canonical.com
Mon Oct 10 10:31:14 UTC 2022
On 30.09.22 17:24, David Thompson wrote:
> BugLink: https://bugs.launchpad.net/bugs/1991403
>
> SRU Justification:
>
> [Impact]
>
> The following upstream commit was recently added to Jammy:
> 3a1a274e933f mlxbf_gige: compute MDIO period based on i1clk
>
> This patch added driver logic that includes a "devm_ioremap"
> call, but the error handling logic pertaining to this call
> is incorrect.
>
> [Fix]
>
> The "devm_ioremap" function returns NULL on error, it doesn't
> return error pointers. The error handling logic has been
> fixed accordingly.
>
> [Test Case]
>
> Boot platform and bring up "oob_net0" interface properly
> Test that network traffic works properly
>
> [Regression Potential]
>
> Low, as the patch was reviewed upstream
>
> [Other]
>
> None
>
> Peng Wu (1):
> net/mlxbf_gige: Fix an IS_ERR() vs NULL bug in mlxbf_gige_mdio_probe
>
> drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_mdio.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Acked-by: Kleber Sacilotto de Souza <kleber.souza at canonical.com>
Thanks
More information about the kernel-team
mailing list