diff options
author | Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> | 2024-07-24 18:23:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-07-31 10:40:08 +0200 |
commit | 8290b567621ba4e3ccf45ec9d67e0507196c5ddc (patch) | |
tree | 06a78e888d2e3bc234f0315b469545ea264d81b4 /net/smc/smc_cdc.c | |
parent | usb: gadget: u_serial: Set start_delayed during suspend (diff) | |
download | linux-8290b567621ba4e3ccf45ec9d67e0507196c5ddc.tar.xz linux-8290b567621ba4e3ccf45ec9d67e0507196c5ddc.zip |
usb: typec: tipd: Fix dereferencing freeing memory in tps6598x_apply_patch()
release_firmware() already frees fw, fix this my moving release_firmware
after the dereference.
Fixes: 916b8e5fa73d ("usb: typec: tipd: add error log to provide firmware name and size")
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Javier Carrasco <javier.carrasco@wolfvision.net>
Link: https://lore.kernel.org/r/20240724162356.992763-1-harshit.m.mogalapalli@oracle.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/smc/smc_cdc.c')
0 files changed, 0 insertions, 0 deletions