ACK: [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 6 12:30:59 UTC 2022


Acked-by: Zachary Tahenakos <zachary.tahenakos at canonical.com>

On 7/5/22 4:16 PM, Asmaa Mnebhi 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.
>



More information about the kernel-team mailing list