答复: [PATCH] usb: typec: qcom-pmic: fix uninitialized value hdr_len and txbuf_len
From: Rex Nie
Date: Tue Oct 29 2024 - 02:28:19 EST
> -----邮件原件-----
> 发件人: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
> 发送时间: 2024年10月29日 10:31
> 收件人: Rex Nie <rex.nie@xxxxxxxxxxxxxxx>
> 抄送: bryan.odonoghue@xxxxxxxxxx; heikki.krogerus@xxxxxxxxxxxxxxx;
> linux-arm-msm@xxxxxxxxxxxxxxx; linux-usb@xxxxxxxxxxxxxxx;
> linux-kernel@xxxxxxxxxxxxxxx; Angus Chen <angus.chen@xxxxxxxxxxxxxxx>
> 主题: Re: [PATCH] usb: typec: qcom-pmic: fix uninitialized value hdr_len and
> txbuf_len
>
> External Mail: This email originated from OUTSIDE of the organization!
> Do not click links, open attachments or provide ANY information unless you
> recognize the sender and know the content is safe.
>
>
> 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?
HI greg k-h, This patch fix the commit id: a4422ff221429c600c3dc5d0394fb3738b89d040, authored by Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>.
Thanks
Rex
>
> thanks,
>
> greg k-h