diff options
author | Marek Szyprowski <[email protected]> | 2012-07-27 17:12:50 +0200 |
---|---|---|
committer | Marek Szyprowski <[email protected]> | 2012-07-30 12:25:45 +0200 |
commit | 9fa8af91f0679f2abbebe1382b937264f3a8b981 (patch) | |
tree | ad23ecfd24dce5f64b151804d6308413b17257f8 /drivers/scsi/mpt3sas/mpi/mpi2_raid.h | |
parent | 50262a4bf38dd70486e9fce2b8235d5ae3e0f627 (diff) |
ARM: dma-mapping: fix error path for memory allocation failure
This patch fixes incorrect check in error path. When the allocation of
first page fails, the kernel ops appears due to accessing -1 element of
the pages array.
Reported-by: Sylwester Nawrocki <[email protected]>
Signed-off-by: Marek Szyprowski <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions