search for: c5c9127b25b2

Displaying 1 result from an estimated 1 matches for "c5c9127b25b2".

2018 May 30
0
[PATCH] drm/nouveau/core: ERR_PTR vs NULL bug in nvkm_engine_info()
The nvkm_engine_ref() function returns error pointers, not NULL on error. I fixed that but I also had to reverse some of the checks so it didn't become too convoluted. Fixes: c5c9127b25b2 ("drm/nouveau/device: implement a generic method to query device-specific properties") Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com> diff --git a/drivers/gpu/drm/nouveau/nvkm/core/engine.c b/drivers/gpu/drm/nouveau/nvkm/core/engine.c index d0322ce85172..ee3fbee905e6 10...