[Nouveau] drm/nouveau/core/memory: kmemleak 684 new suspected memory leaks
Sergey Senozhatsky
sergey.senozhatsky.work at gmail.com
Fri May 17 07:27:37 UTC 2019
On (05/17/19 15:13), Sergey Senozhatsky wrote:
> ... but most likely it's utterly wrong.
>
JFI, I removed kmemleak annotation and added the following
thing:
@@ -360,6 +360,7 @@ gp100_vmm_valid(struct nvkm_vmm *vmm, void *argv, u32 argc,
return -EINVAL;
}
+ kfree(map->tags);
ret = nvkm_memory_tags_get(memory, device, tags,
nvkm_ltc_tags_clear,
&map->tags);
-ss
More information about the Nouveau
mailing list