From 6758ddafad55fc8e665bb03ff103d3e410483fe9 Mon Sep 17 00:00:00 2001 From: Alexandre Belloni Date: Fri, 1 Aug 2014 18:51:46 +0200 Subject: [PATCH] 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 Signed-off-by: Vinod Koul --- Reading git-format-patch failed