diff options
author | Lad Prabhakar <[email protected]> | 2022-01-05 18:07:03 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-01-06 15:53:49 +0100 |
commit | 0e479b460e342c5fe138391b29d7bfa0a6204af2 (patch) | |
tree | cb7e8b55742db84f07de06508335d7b6ee9403a6 /net/lapb/lapb_timer.c | |
parent | 99a507a8ea28542ec196e2dd80096708e2482735 (diff) |
serial: 8250_bcm7271: Fix return error code in case of dma_alloc_coherent() failure
In case of dma_alloc_coherent() failure return -ENOMEM instead of
returning -EINVAL.
Reported-by: Andy Shevchenko <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Signed-off-by: Lad Prabhakar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions