diff options
author | Charles Han <hanchunchao@inspur.com> | 2024-10-25 14:59:12 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-11-04 02:03:17 +0100 |
commit | 04e3e9188291a183b27306ddb833722c0d083d6a (patch) | |
tree | acae985fdbd8e82bb36805a604b3e7fcf7225ed3 /tools | |
parent | 7c561b8c3e83687064c957c394ed9fe49e38fe00 (diff) | |
download | lwn-04e3e9188291a183b27306ddb833722c0d083d6a.tar.gz lwn-04e3e9188291a183b27306ddb833722c0d083d6a.zip |
phy: realtek: usb: fix NULL deref in rtk_usb2phy_probe
In rtk_usb2phy_probe() devm_kzalloc() may return NULL
but this returned value is not checked.
Fixes: 134e6d25f6bd ("phy: realtek: usb: Add driver for the Realtek SoC USB 2.0 PHY")
Signed-off-by: Charles Han <hanchunchao@inspur.com>
Link: https://lore.kernel.org/r/20241025065912.143692-1-hanchunchao@inspur.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions