]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/disp: Use NULL for pointers
authorThierry Reding <treding@nvidia.com>
Mon, 21 Jul 2014 12:02:58 +0000 (14:02 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 27 Jul 2015 08:56:09 +0000 (18:56 +1000)
commit14f38edb93d95cd9826e50504038873d38e72092
treebd5c9457df5d86395b46532901d5ffb9ef664772
parent8417bef1f7714b52967731420d0afda2a3404b8c
drm/nouveau/disp: Use NULL for pointers

The return type of exec_lookup() is struct nvkm_output *, so it should
return NULL rather than 0.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf110.c