summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/io_sch.h
diff options
context:
space:
mode:
authorYongzhi Liu <hyperlyzcs@gmail.com>2024-05-23 14:14:34 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-06-04 18:08:39 +0200
commit77427e3d5c353e3dd98c7c0af322f8d9e3131ace (patch)
tree44b677ba13efc27681e463a5e666bf77ce8cd1da /drivers/s390/cio/io_sch.h
parentmisc: microchip: pci1xxxx: fix double free in the error handling of gp_aux_bu... (diff)
downloadlinux-77427e3d5c353e3dd98c7c0af322f8d9e3131ace.tar.xz
linux-77427e3d5c353e3dd98c7c0af322f8d9e3131ace.zip
misc: microchip: pci1xxxx: Fix a memory leak in the error handling of gp_aux_bus_probe()
There is a memory leak (forget to free allocated buffers) in a memory allocation failure path. Fix it to jump to the correct error handling code. Fixes: 393fc2f5948f ("misc: microchip: pci1xxxx: load auxiliary bus driver for the PIO function in the multi-function endpoint of pci1xxxx device.") Signed-off-by: Yongzhi Liu <hyperlyzcs@gmail.com> Reviewed-by: Kumaravel Thiagarajan <kumaravel.thiagarajan@microchip.com> Link: https://lore.kernel.org/r/20240523121434.21855-4-hyperlyzcs@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/s390/cio/io_sch.h')
0 files changed, 0 insertions, 0 deletions