drm/nouveau/core: prepare printk for NULL engine pointer on device object tree
authorBen Skeggs <bskeggs@redhat.com>
Fri, 5 Dec 2014 01:03:18 +0000 (11:03 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 22 Jan 2015 02:14:47 +0000 (12:14 +1000)
commit0527a04fe837d66f2d1f8606d625a59d4a1c52cd
treedb8aa3368a3b3eb0ac8ad2b19136dc0ad75e6f6a
parente138c7d8fcb4b40a31346b8ffb955f8f25adba3f
drm/nouveau/core: prepare printk for NULL engine pointer on device object tree

The [  SUBDEV] specified in log output will be a bit different for
children of a subdev now.  Previously this reports whatever subdev
is specified by object.engine, now it reports the subdev that owns
the object (so, up object.parent somewhere).

Later patches will append object and class identifiers to messages,
which will help clarify where it's coming from.

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