diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-20 08:37:19 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2010-10-22 11:08:27 -0700 |
commit | 8267f16e8b67ea272f37f7072933dc0d3839693d (patch) | |
tree | 672a25b5bb2db8c1a440d0221d1069231071f6aa /include/linux/writeback.h | |
parent | 42e55736f7efd7658f8826a5f441c3ccb962db74 (diff) | |
download | kernel_samsung_smdk4412-8267f16e8b67ea272f37f7072933dc0d3839693d.zip kernel_samsung_smdk4412-8267f16e8b67ea272f37f7072933dc0d3839693d.tar.gz kernel_samsung_smdk4412-8267f16e8b67ea272f37f7072933dc0d3839693d.tar.bz2 |
dma: imx-dma: fix signedness bug
mxdmac->channel was unsigned, so check (imxdmac->channel < 0) for
failed imx_dma_request_by_prio() made no sence. Explicitly check
signed values.
Also, fix uninitialzed use of ret.
Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux/writeback.h')
0 files changed, 0 insertions, 0 deletions