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
..
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:11 +01:00
2012-04-23 14:21:52 +01:00
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:12 +01:00
2011-09-10 23:39:56 +01:00
2011-07-02 10:56:11 +01:00
2012-03-28 18:30:01 +01:00
2011-07-07 15:31:05 +01:00
2012-03-28 18:30:01 +01:00
2012-04-23 14:21:52 +01:00
2012-05-07 11:43:48 +08:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-03-28 18:30:01 +01:00
2012-04-17 15:29:37 +01:00
2012-03-20 21:48:14 +08:00
2012-03-20 21:48:14 +08:00
2012-03-29 16:53:48 -07:00
2012-03-20 21:48:14 +08:00
2012-03-20 21:48:14 +08:00
2012-03-29 16:53:48 -07:00
2012-03-20 21:48:14 +08:00
2012-03-29 16:53:48 -07:00
2012-07-30 12:25:45 +02:00
2011-10-31 19:30:48 -04:00
2012-05-21 15:15:33 +01:00
2011-12-08 10:30:40 +00:00
2012-03-29 16:53:48 -07:00
2011-12-08 10:30:37 +00:00
2011-12-08 10:30:40 +00:00
2012-03-29 16:53:48 -07:00
2012-03-28 18:30:01 +01:00
2012-06-11 14:30:47 +02:00
2012-02-23 20:18:56 -07:00
2012-03-29 18:02:10 -07:00
2012-05-05 05:50:50 +01:00
2012-05-05 05:50:50 +01:00
2012-07-30 12:25:45 +02:00
2011-12-06 11:15:25 +00:00
2012-07-01 14:21:35 +01:00
2012-04-13 14:05:42 +01:00
2011-07-02 10:56:10 +01:00
2011-07-02 10:56:10 +01:00
2011-07-02 10:56:10 +01:00
2012-03-28 18:30:01 +01:00
2011-12-06 14:04:14 +00:00
2011-12-06 14:04:14 +00:00
2011-12-06 14:04:14 +00:00
2011-12-06 14:04:14 +00:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-05-02 11:12:49 +01:00
2012-03-28 18:30:01 +01:00
2012-05-02 11:12:49 +01:00
2011-12-08 10:30:39 +00:00
2012-05-22 09:41:01 -07:00
2011-12-06 14:04:14 +00:00
2011-12-06 14:04:14 +00:00
2009-12-14 14:53:22 +00:00
2011-12-06 14:04:14 +00:00
2012-04-17 15:29:32 +01:00
2011-12-08 10:30:39 +00:00
2012-04-15 22:00:31 +01:00
2011-12-06 14:04:14 +00:00
2011-12-06 14:04:14 +00:00
2011-07-22 23:09:07 +01:00
2011-07-07 15:31:12 +01:00
2011-07-07 15:31:12 +01:00
2011-07-07 15:31:12 +01:00
2011-07-22 23:09:07 +01:00
2011-07-22 23:09:07 +01:00
2012-01-23 10:23:57 +00:00
2012-05-21 15:06:23 +02:00