]> 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)
commitea249b4ae38b86eac0425f05d72d896c6e58329a
treebd5c9457df5d86395b46532901d5ffb9ef664772
parent1598f4027add988848219792801cb276d901774e
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