diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2014-08-01 16:51:46 (GMT) |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-08-07 16:22:27 (GMT) |
commit | 6758ddafad55fc8e665bb03ff103d3e410483fe9 (patch) | |
tree | 9f6455b28f7d442029844b505fe03a30cb012520 /arch/sh/drivers | |
parent | cfc6abc3f1ee01dec27a6166f518f084544e4387 (diff) | |
download | linux-6758ddafad55fc8e665bb03ff103d3e410483fe9.tar.xz |
dma: at_hdmac: fix invalid remaining bytes detection
Found using smatch:
drivers/dma/at_hdmac.c:299 atc_get_bytes_left() warn: unsigned
'atchan->remain_desc' is never less than zero.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'arch/sh/drivers')
0 files changed, 0 insertions, 0 deletions