Re: [PATCH] bus: mhi: host: Fix uninitialized status handling on BHI/BHIe read errors

From: Manivannan Sadhasivam

Date: Tue Dec 01 2026 - 23:43:55 EST



On Thu, 19 Nov 2026 09:04:24 -0800, Ian Rogers wrote:
> mhi_download_rddm_image(), mhi_fw_load_bhie(), and mhi_fw_load_bhi()
> poll BHI/BHIe status registers inside wait_event_timeout() using:
>
> mhi_read_reg_field(..., &status) || status
>
> When mhi_read_reg_field() returns a non-zero error code before ever
> writing *out, the short-circuit OR wakes wait_event_timeout() with a
> positive return value while leaving status uninitialized on the stack:
>
> [...]

Applied, thanks!

[1/1] bus: mhi: host: Fix uninitialized status handling on BHI/BHIe read errors
commit: ca50a63977d2f3441ed6d759e2730be5b9c30857

Best regards,
--
மணிவண்ணன் சதாசிவம்