WSL2-Linux-Kernel/drivers/soc/fsl
Robert-Ionut Alexa 9981e39ded soc: fsl: dpaa2-console: free buffer before returning from dpaa2_console_read
[ Upstream commit 8120bd469f ]

Free the kbuf buffer before returning from the dpaa2_console_read()
function. The variable no longer goes out of scope, leaking the storage
it points to.

Fixes: c93349d8c1 ("soc: fsl: add DPAA2 console support")
Signed-off-by: Robert-Ionut Alexa <robert-ionut.alexa@nxp.com>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-18 19:17:02 +01:00
..
dpio soc: fsl: dpio: use the combined functions to protect critical zone 2021-11-18 19:16:01 +01:00
qbman IOMMU Updates for Linux v5.13 2021-05-01 09:33:00 -07:00
qe soc: fsl: qe: fix static checker warning 2021-08-13 16:56:10 -05:00
Kconfig soc: fsl: add RCPM driver 2019-11-12 15:26:05 -06:00
Makefile soc: fsl: add RCPM driver 2019-11-12 15:26:05 -06:00
dpaa2-console.c soc: fsl: dpaa2-console: free buffer before returning from dpaa2_console_read 2021-11-18 19:17:02 +01:00
guts.c soc: fsl: guts: remove unneeded semicolon 2021-04-06 15:25:50 -05:00
rcpm.c soc: fsl: enable acpi support in RCPM driver 2021-04-08 16:34:15 -05:00