diff options
| author | Joe Hattori <[email protected]> | 2024-12-16 01:55:39 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-12-23 17:51:27 +0000 |
| commit | 74adad500346fb07d69af2c79acbff4adb061134 (patch) | |
| tree | 223bd302362e3e10a33e317d88c509d956157545 /tools/net/ynl/pyynl/cli.py | |
| parent | usb: typec: ucsi: Set orientation as none when connector is unplugged (diff) | |
| download | kernel-74adad500346fb07d69af2c79acbff4adb061134.tar.gz kernel-74adad500346fb07d69af2c79acbff4adb061134.zip | |
usb: chipidea: ci_hdrc_imx: decrement device's refcount in .remove() and in the error path of .probe()
Current implementation of ci_hdrc_imx_driver does not decrement the
refcount of the device obtained in usbmisc_get_init_data(). Add a
put_device() call in .remove() and in .probe() before returning an
error.
This bug was found by an experimental static analysis tool that I am
developing.
Cc: stable <[email protected]>
Fixes: f40017e0f332 ("chipidea: usbmisc_imx: Add USB support for VF610 SoCs")
Signed-off-by: Joe Hattori <[email protected]>
Acked-by: Peter Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/net/ynl/pyynl/cli.py')
0 files changed, 0 insertions, 0 deletions
