]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: fix oops in client init failure path
authorBen Skeggs <bskeggs@redhat.com>
Tue, 28 Aug 2018 04:10:34 +0000 (14:10 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 6 Sep 2018 20:54:27 +0000 (06:54 +1000)
commit3b05fc1938b66f98319ca821807e68370d9f45d2
tree75292f26102d904eeead2002fabec4ba91785e29
parent5e451a23f1ff986681e95048ecfdc0a97a94d6ae
drm/nouveau: fix oops in client init failure path

The NV_ERROR macro requires drm->client to be initialised, which it may not
be at this stage of the init process.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_drm.c