[PATCH v2 0/2] phy: sunplus: fix two issues in update_disc_vol()

Felix Gu ustc.gu at gmail.com
Fri Aug 7 06:16:58 PDT 2026


Signed-off-by: Felix Gu <ustc.gu at gmail.com>
---
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@gmail.com

To: Vincent Shih <vincent.sunplus at gmail.com>
To: Vinod Koul <vkoul at kernel.org>
To: Neil Armstrong <neil.armstrong at linaro.org>
Cc: linux-usb at vger.kernel.org
Cc: linux-phy at lists.infradead.org
Cc: linux-kernel at vger.kernel.org

---
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 at gmail.com>




More information about the linux-phy mailing list