Public bug reported:

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

** Affects: linux-bluefield (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-bluefield in Ubuntu.
https://bugs.launchpad.net/bugs/1991403

Title:
  mlxbf_gige: fix devm_ioremap error handling

Status in linux-bluefield package in Ubuntu:
  New

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/1991403/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to