Re: [PATCH v2] serial: 8250_bcm7271: Fix return error code in case of dma_alloc_coherent() failure

From: Florian Fainelli
Date: Wed Jan 05 2022 - 13:11:01 EST


On 1/5/22 10:07 AM, Lad Prabhakar wrote:
> In case of dma_alloc_coherent() failure return -ENOMEM instead of
> returning -EINVAL.
>
> Reported-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
> Acked-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
> Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> ---
> v1->v2
> * Dropped fixes tag as suggested by Florian/Andy

Thanks for the quick turnaround and carrying the tags forward. Cheers
--
Florian