Messages in this thread | | | Subject | Re: [PATCH] serial: 8250_bcm7271: Fix return error code in case of dma_alloc_coherent() failure | From | Florian Fainelli <> | Date | Tue, 4 Jan 2022 10:12:54 -0800 |
| |
On 1/4/22 9:50 AM, Lad Prabhakar wrote: > In case of dma_alloc_coherent() failure return -ENOMEM instead of > returning -EINVAL. > > Fixes: c195438f1e84 ("serial: 8250_bcm7271: Propagate error codes from brcmuart_probe()") > Reported-by: Andy Shevchenko <andy.shevchenko@gmail.com> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
The fixes tag may be a bit superfluous since this is just an error path, but it is correct nonetheless. -- Florian
| |