aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/typec/ucsi/ucsi_ccg.c
diff options
context:
space:
mode:
authorLi Jun <jun.li@nxp.com>2019-07-17 16:06:45 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-30 11:04:09 +0200
commitfd5da3e2cc61b4a7c877172fdc9348c82cf6ccfc (patch)
tree595c4c25897a0a1cdb72cc40a310bde1acd967c6 /drivers/usb/typec/ucsi/ucsi_ccg.c
parentusb: typec: tcpm: Add NULL check before dereferencing config (diff)
downloadlinux-dev-fd5da3e2cc61b4a7c877172fdc9348c82cf6ccfc.tar.xz
linux-dev-fd5da3e2cc61b4a7c877172fdc9348c82cf6ccfc.zip
usb: typec: tcpm: free log buf memory when remove debug file
The logbuffer memory should be freed when remove debug file. Cc: stable@vger.kernel.org # v4.15+ Fixes: 4b4e02c83167 ("typec: tcpm: Move out of staging") Signed-off-by: Li Jun <jun.li@nxp.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20190717080646.30421-1-jun.li@nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/typec/ucsi/ucsi_ccg.c')
0 files changed, 0 insertions, 0 deletions