Marek Szyprowski 9fa8af91f0 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 <s.nawrocki@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
2012-07-30 12:25:45 +02:00
..
2012-03-28 18:30:01 +01:00
2011-12-08 10:30:40 +00:00
2012-03-28 18:30:01 +01:00
2012-03-29 18:02:10 -07:00
2011-12-06 11:15:25 +00:00
2012-03-28 18:30:01 +01:00