On Sat, Jul 20, 2019 at 1:23 AM Navid Emamdoost
wrote:
>
> in lpss8250_dma_setup, we need to release the first dma slave object
> allocated in case of the second allocation failure.
>
This will bring a double free instead of fixing anything.
NAK.
> Signed-off-by: Navid Emamdoost
> ---
> drive
in lpss8250_dma_setup, we need to release the first dma slave object
allocated in case of the second allocation failure.
Signed-off-by: Navid Emamdoost
---
drivers/tty/serial/8250/8250_lpss.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/tty/serial/8250/8250_lpss
2 matches
Mail list logo