diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-01-07 15:24:19 +0200 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2015-02-20 00:49:34 +0000 |
commit | ee368a2c5ed1806a6cbdcddadac86cbb3816d2f5 (patch) | |
tree | c171ebcf1368c3c787f6efa9c50db5aadfa5fffe /kernel | |
parent | 78eaa11abd10111f9e58860cfbd4ce23c81acde2 (diff) |
sata_dwc_460ex: fix resource leak on error path
commit 4aaa71873ddb9faf4b0c4826579e2f6d18ff9ab4 upstream.
DMA mapped IO should be unmapped on the error path in probe() and
unconditionally on remove().
Fixes: 62936009f35a ([libata] Add 460EX on-chip SATA driver, sata_dwc_460ex)
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions