Displaying 1 result from an estimated 1 matches for "9a578262c6d".
2024 Mar 03
1
[PATCH] nouveau/dmem: handle kcalloc() allocation failure
...g release")
Signed-off-by: Duoming Zhou <duoming at zju.edu.cn>
---
drivers/gpu/drm/nouveau/nouveau_dmem.c | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_dmem.c b/drivers/gpu/drm/nouveau/nouveau_dmem.c
index 12feecf71e7..9a578262c6d 100644
--- a/drivers/gpu/drm/nouveau/nouveau_dmem.c
+++ b/drivers/gpu/drm/nouveau/nouveau_dmem.c
@@ -374,13 +374,13 @@ static void
nouveau_dmem_evict_chunk(struct nouveau_dmem_chunk *chunk)
{
unsigned long i, npages = range_len(&chunk->pagemap.range) >> PAGE_SHIFT;
- unsigned long...