Re: [PATCH-stable] serial: samsung: Bring back removed variable to fix compilation

From: Krzysztof Kozlowski
Date: Thu May 18 2017 - 08:59:47 EST


On Thu, May 18, 2017 at 2:31 PM, Krzysztof Kozlowski
<kozik.server@xxxxxxxxx> wrote:

I need to fixup the from field. It should be krzk@xxxxxxxxxxx

Krzysztof


> By mistake commit 500fcc08a32b ("serial: samsung: Add missing checks for
> dma_map_single failure") removes a local variable which is still used by
> code. After backporting the commit to stable, compilation fails:
>
> drivers/tty/serial/samsung.c: In function âs3c24xx_serial_request_dmaâ:
> drivers/tty/serial/samsung.c:909:45: error: âflagsâ undeclared (first use in this function)
>
> Signed-off-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
>
> ---
>
> Fix for stable-rc commit:
> bc3ac2299c4873cdc7f9bf3c867c23e9714a036f
> ---
> drivers/tty/serial/samsung.c | 1 +
> 1 file changed, 1 insertion(+)