commit | ef07ceae02271ac6eadc9f5cd652bb7162455a1b | [log] [tgz] |
---|---|---|
author | Ben Skeggs <bskeggs@redhat.com> | Tue Aug 12 22:56:09 2014 +1000 |
committer | Ben Skeggs <bskeggs@redhat.com> | Fri Aug 15 07:58:39 2014 +1000 |
tree | f4bd1b596e4bf62ae951ce7770fb1a3bc9ca571b | |
parent | 147ed897e807e1a6e2c6fd9dc91830f1d2831d43 [diff] |
drm/nouveau/nvif: return null pointers on failure, in addition to ret != 0 Reported by Coverity. The intention is that the return value is checked, but let's be more paranoid and make it extremely obvious if something forgets to. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>