Re: [PATCH] usb: typec: qcom-pmic: fix uninitialized value hdr_len and txbuf_len
From: Greg KH
Date: Mon Oct 28 2024 - 22:31:01 EST
On Tue, Oct 29, 2024 at 10:18:23AM +0800, Rex Nie wrote:
> If the read of USB_PDPHY_RX_ACKNOWLEDGE_REG failed, then hdr_len and
> txbuf_len are uninitialized. It makes no sense to print message header
> and payload. It is also not safe to print uninitialized length of ram.
>
> Signed-off-by: Rex Nie <rex.nie@xxxxxxxxxxxxxxx>
What commit id does this fix?
thanks,
greg k-h