Dinghao Liu
1229d43396
habanalabs: Fix memleak in hl_device_reset
...
[ Upstream commit b000700d6db50c933ce8b661154e26cf4ad06dba ]
When kzalloc() fails, we should execute hl_mmu_fini()
to release the MMU module. It's the same when
hl_ctx_init() fails.
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-01-19 18:26:15 +01:00
..
2020-03-25 08:25:47 +01:00
2019-06-19 17:09:55 +02:00
2020-11-01 12:01:06 +01:00
2019-06-19 17:09:55 +02:00
2020-11-01 12:01:05 +01:00
2019-05-30 11:29:19 -07:00
2020-10-29 09:58:10 +01:00
2019-07-12 12:24:03 -07:00
2021-01-19 18:26:15 +01: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-11-18 19:20:30 +01:00
2020-10-29 09:58:04 +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
2021-01-06 14:48:38 +01: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-02-27 16:00:21 +01:00
2019-01-18 14:14:14 +01: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-01-18 16:42:05 +01: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