APPLIED/Cmnt: [SRU][F:linux-bluefield][PATCH v1 0/1] UBUNTU: SAUCE: pwr-mlxbf.c: make hids local variables

Zachary Tahenakos zachary.tahenakos at canonical.com
Wed Jul 27 13:36:45 UTC 2022


Patch needed to be slightly massaged, changing DRV_VERSION to 1.0 due to a
previous patch being rejected.

Applied to f:bluefield. Thanks.

-Zack

On Tue, Jul 5, 2022 at 4:17 PM Asmaa Mnebhi <asmaa at nvidia.com> wrote:

> Buglink: https://bugs.launchpad.net/bugs/1980774
>
> SRU Justification:
>
> [Impact]
>
> Both rst_pwr_hid and low_pwr_hid are only used in a single function so
> they should be local variables.
>
> [Fix]
>
> * Move rst_pwr_hid and low_pwr_hid to pwr_mlxbf_irq
>
> [Test Case]
>
> * build without warnings
> * pwr-mlxbf.c is loaded successfully
> * reset via BMC GPIO is successful
>
> [Regression Potential]
>
> Any of the test cases above could be impacted due to these changes.
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20220727/3b2e07d4/attachment-0001.html>


More information about the kernel-team mailing list