]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/kms/nv50: add null check before pointer dereference
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Mon, 22 May 2017 19:12:37 +0000 (14:12 -0500)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 6 Jun 2017 04:04:03 +0000 (14:04 +1000)
commite9a8f2802235e406bf77b782d56db269fb1f71d1
treed2c195892b6a0b8357f19790d972b7add759c447
parentdc3428b169e14051fd690c5ebd0daa6b8c58ce07
drm/nouveau/kms/nv50: add null check before pointer dereference

Add null check before dereferencing pointer asyc

Addresses-Coverity-ID: 1397932
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_display.c