diff options
author | Sherry Sun <sherry.sun@nxp.com> | 2023-05-22 04:51:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-05-30 12:50:24 +0200 |
commit | 20ec397d694b05d3e7150e3ba15047c53e7e6b94 (patch) | |
tree | 5fcec3d6f7e998bffea209d029665260878001c2 /drivers/tty/synclink_gt.c | |
parent | serial: Switch i2c drivers back to use .probe() (diff) | |
download | linux-20ec397d694b05d3e7150e3ba15047c53e7e6b94.tar.xz linux-20ec397d694b05d3e7150e3ba15047c53e7e6b94.zip |
tty: serial: fsl_lpuart: Check the return value of dmaengine_tx_status
Coverity reports the Unchecked return value (CHECKED_RETURN) warning:
Calling dmaengine_tx_status without checking return value.
So here add the return value check for dmaengine_tx_status() function to
make coverity happy.
Fixes: cf9aa72d2f91 ("tty: serial: fsl_lpuart: optimize the timer based EOP logic")
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Link: https://lore.kernel.org/r/20230522025111.3747-1-sherry.sun@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/synclink_gt.c')
0 files changed, 0 insertions, 0 deletions