linux-mainline/drivers/usb
Heikki Krogerus f26a679ed7 usb: typec: ucsi: Fix NULL pointer dereference
Making sure the UCSI debugfs entry actually exists before
attempting to remove it.

Fixes: df0383ffad ("usb: typec: ucsi: Add debugfs for ucsi commands")
Reported-by: Dave Hansen <dave.hansen@intel.com>
Closes: https://lore.kernel.org/linux-usb/700df3c4-2f6c-85f9-6c61-065bc5b2db3a@intel.com/
Suggested-by: Dave Hansen <dave.hansen@intel.com>
Suggested-by: Mario Limonciello <mario.limonciello@amd.com>
Cc: Saranya Gopal <saranya.gopal@intel.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Cc: Thorsten Leemhuis <regressions@leemhuis.info>
Link: https://lore.kernel.org/r/20230906084842.1922052-1-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-11 13:52:16 +02:00
..
atm
c67x00
cdns3
chipidea
class TTY/Serial driver changes for 6.6-rc1 2023-09-01 09:38:00 -07:00
common Merge 6.5-rc6 into usb-next 2023-08-14 22:22:31 +02:00
core USB / Thunderbolt / PHY driver update for 6.6-rc1 2023-09-01 09:23:34 -07:00
dwc2 usb: dwc2: add pci_device_id driver_data parse support 2023-08-22 14:49:12 +02:00
dwc3 just cleanups and fixes 2023-09-07 10:35:14 -07:00
early
fotg210
gadget TTY/Serial driver changes for 6.6-rc1 2023-09-01 09:38:00 -07:00
host TTY/Serial driver changes for 6.6-rc1 2023-09-01 09:38:00 -07:00
image
isp1760
misc
mon
mtu3
musb
phy
renesas_usbhs
roles
serial TTY/Serial driver changes for 6.6-rc1 2023-09-01 09:38:00 -07:00
storage
typec usb: typec: ucsi: Fix NULL pointer dereference 2023-09-11 13:52:16 +02:00
usbip
Kconfig
Makefile
usb-skeleton.c