summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-12-05 10:55:50 +1000
committerBen Skeggs <bskeggs@redhat.com>2015-01-22 12:14:46 +1000
commite138c7d8fcb4b40a31346b8ffb955f8f25adba3f (patch)
treeb81a6fcd980dbf101f6d13ec827b77aaca8759ec /drivers/gpu/drm/nouveau
parent95fb6dd72850cb8dd6262aeae3d12fc867dc0b7b (diff)
downloadblackbird-op-linux-e138c7d8fcb4b40a31346b8ffb955f8f25adba3f.tar.gz
blackbird-op-linux-e138c7d8fcb4b40a31346b8ffb955f8f25adba3f.zip
drm/nouveau/core: drop the pointer value in debug printk output
Makes the output slightly less useful, in that objects with the same class handle can't be distinguished from each other now. Upcoming commits will name objects with user-readable strings to fix this problem. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-rw-r--r--drivers/gpu/drm/nouveau/core/core/printk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/core/core/printk.c b/drivers/gpu/drm/nouveau/core/core/printk.c
index 03e0060b13da..d6c4d9072a36 100644
--- a/drivers/gpu/drm/nouveau/core/core/printk.c
+++ b/drivers/gpu/drm/nouveau/core/core/printk.c
@@ -65,8 +65,8 @@ nv_printk_(struct nouveau_object *object, int level, const char *fmt, ...)
char obuf[64], *ofmt = "";
if (object->engine) {
- snprintf(obuf, sizeof(obuf), "[0x%08x][%p]",
- nv_hclass(object), object);
+ snprintf(obuf, sizeof(obuf), "[0x%08x]",
+ nv_hclass(object));
ofmt = obuf;
subdev = object->engine;
device = object->engine;
OpenPOWER on IntegriCloud