Ofir Bitton
7a55cf8a20
habanalabs: check correct vmalloc return code
...
[ Upstream commit 0839152f8c1efc1cc2d515d1ff1e253ca9402ad3 ]
vmalloc can return different return code than NULL and a valid
pointer. We must validate it in order to dereference a non valid
pointer.
Signed-off-by: Ofir Bitton <obitton@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-09-09 19:12:21 +02:00
..
2020-03-25 08:25:47 +01:00
2019-06-19 17:09:55 +02:00
2020-05-27 17:46:46 +02:00
2019-06-19 17:09:55 +02:00
2020-08-19 08:16:08 +02:00
2019-05-30 11:29:19 -07:00
2019-09-24 16:48:02 -07:00
2019-07-12 12:24:03 -07:00
2020-09-09 19:12:21 +02:00
2019-07-19 10:42:02 -07:00
2019-06-05 17:37:07 +02:00
2020-02-05 21:22:46 +00:00
2020-07-22 09:33:13 +02:00
2019-09-10 23:18:05 +01:00
2020-01-12 12:21:31 +01:00
2019-08-16 12:02:59 -03:00
2019-09-18 11:14:31 -07:00
2019-07-12 12:24:03 -07:00
2019-08-28 22:57:07 +02:00
2019-05-30 11:25:18 -07:00
2019-05-30 11:25:18 -07:00
2019-05-30 11:25:18 -07:00
2019-05-30 11:25:18 -07:00
2019-06-05 17:37:07 +02:00
2019-05-30 11:26:39 -07:00
2019-05-21 10:50:45 +02:00
2020-07-22 09:33:15 +02:00
2019-06-05 17:37:07 +02:00
2019-05-30 11:29:53 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-01-17 19:48:42 +01:00
2020-06-24 17:50:13 +02:00
2019-05-30 11:26:39 -07:00
2019-05-30 11:26:35 -07:00
2019-05-24 17:36:45 +02:00
2019-05-30 11:26:39 -07:00
2019-09-18 11:14:31 -07:00
2019-06-05 17:37:06 +02:00
2019-05-30 11:26:32 -07:00
2019-09-18 11:14:31 -07:00
2019-05-30 11:26:39 -07:00
2020-04-08 09:08:41 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:41 -07:00
2019-06-05 17:36:37 +02:00
2019-05-21 11:28:39 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-05-24 17:36:45 +02:00
2019-05-30 11:26:41 -07:00
2019-08-28 22:57:07 +02:00
2020-06-24 17:50:35 +02:00