diff options
author | Alex Smith <alex.smith@imgtec.com> | 2015-07-24 17:24:22 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-08-18 22:28:49 +0530 |
commit | 839896ef3fdacf3a27460b6f6dabc6ac1475a00c (patch) | |
tree | a8e2c9dbdf9187c39253b9b1822415f47095c8a9 /drivers/dma/acpi-dma.c | |
parent | dc578f314e2471ca93a4c1f80988ecc781836f72 (diff) | |
download | linux-839896ef3fdacf3a27460b6f6dabc6ac1475a00c.tar.bz2 |
dmaengine: jz4780: Fix error handling/signedness issues
There are a some signedness bugs such as testing for < 0 on unsigned
return values. Additionally there are some cases where functions which
should return NULL on error actually return a PTR_ERR value which can
result in oopses on error. Fix these issues.
Signed-off-by: Alex Smith <alex.smith@imgtec.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Cc: dmaengine@vger.kernel.org
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/acpi-dma.c')
0 files changed, 0 insertions, 0 deletions