[PATCH v2 0/2] phy: sunplus: fix two issues in update_disc_vol()
From: Felix Gu
Date: Fri Aug 07 2026 - 09:36:45 EST
Signed-off-by: Felix Gu <ustc.gu@xxxxxxxxx>
---
Changes in v2:
- Fix Vinod's comments.
- Split the commit into two patches, one for memory leak, one for error
pointer deference.
- Link to v1: https://patch.msgid.link/20260804-sunplus-v1-1-79f52226cb50@xxxxxxxxx
To: Vincent Shih <vincent.sunplus@xxxxxxxxx>
To: Vinod Koul <vkoul@xxxxxxxxxx>
To: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
Cc: linux-usb@xxxxxxxxxxxxxxx
Cc: linux-phy@xxxxxxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
---
Felix Gu (2):
phy: sunplus: fix memory leak in update_disc_vol()
phy: sunplus: fix ERR_PTR deref in update_disc_vol()
drivers/phy/sunplus/phy-sunplus-usb2.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
---
base-commit: 9a4cdc958dd79fc6c3b20b51a10debec6ca09fec
change-id: 20260804-sunplus-53a7bb1bcd72
Best regards,
--
Felix Gu <ustc.gu@xxxxxxxxx>