diff options
| author | Heikki Krogerus <[email protected]> | 2023-09-06 08:48:42 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-09-11 11:52:16 +0000 |
| commit | f26a679ed799deef9e2934a6b60b8f38bdbf4921 (patch) | |
| tree | 9af96ed078a97cecd53bc04bef5d4c693dfa439b /drivers/cdx/controller/cdx_controller.c | |
| parent | Linux 6.6-rc1 (diff) | |
| download | kernel-f26a679ed799deef9e2934a6b60b8f38bdbf4921.tar.gz kernel-f26a679ed799deef9e2934a6b60b8f38bdbf4921.zip | |
usb: typec: ucsi: Fix NULL pointer dereference
Making sure the UCSI debugfs entry actually exists before
attempting to remove it.
Fixes: df0383ffad64 ("usb: typec: ucsi: Add debugfs for ucsi commands")
Reported-by: Dave Hansen <[email protected]>
Closes: https://lore.kernel.org/linux-usb/[email protected]/
Suggested-by: Dave Hansen <[email protected]>
Suggested-by: Mario Limonciello <[email protected]>
Cc: Saranya Gopal <[email protected]>
Signed-off-by: Heikki Krogerus <[email protected]>
Cc: Thorsten Leemhuis <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
