Re: [Nouveau] [PATCH 1/2] drm/nouveau/kms/nv50-: fix file release memory leak

2021-09-28 Thread Karol Herbst
Reviewed-by: Karol Herbst On Sat, Sep 11, 2021 at 9:45 AM Yang Yingliang wrote: > > When using single_open() for opening, single_release() should be > called, otherwise the 'op' allocated in single_open() will be leaked. > > Fixes: 12885ecbfe62 ("drm/nouveau/kms/nvd9-: Add CRC support") > Report

[Nouveau] [PATCH 1/2] drm/nouveau/kms/nv50-: fix file release memory leak

2021-09-17 Thread Yang Yingliang
When using single_open() for opening, single_release() should be called, otherwise the 'op' allocated in single_open() will be leaked. Fixes: 12885ecbfe62 ("drm/nouveau/kms/nvd9-: Add CRC support") Reported-by: Hulk Robot Signed-off-by: Yang Yingliang --- drivers/gpu/drm/nouveau/dispnv50/crc.c