drm/nouveau: fix null ptr dereferences on some boards
authorBen Skeggs <bskeggs@redhat.com>
Tue, 14 Jan 2014 04:56:22 +0000 (14:56 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 15 Jan 2014 04:24:05 +0000 (14:24 +1000)
commitfdd239ac99a0cc298b382c5ab5e7bcd09e8933d7
tree7bf11a0f66f855d872e2b275a4811975a6edcaf3
parentbbc6319676944aa43527656b996766b85558e7e0
drm/nouveau: fix null ptr dereferences on some boards

Regression from "device: populate master subdev pointer only when fully
constructed"

Reported-by: Bob Gleitsmann <rjgleits@bellsouth.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/include/subdev/i2c.h
drivers/gpu/drm/nouveau/core/include/subdev/instmem.h
drivers/gpu/drm/nouveau/core/subdev/i2c/base.c
drivers/gpu/drm/nouveau/core/subdev/therm/ic.c
drivers/gpu/drm/nouveau/dispnv04/dfp.c
drivers/gpu/drm/nouveau/dispnv04/tvnv04.c