diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-12-05 10:55:50 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2015-01-10 23:57:06 +1000 |
commit | 3a333d26a2653600018f1b7fed102b91b8807a30 (patch) | |
tree | ccdbe68c5daf2d2210ebce2f9ff666aaa6046b1d | |
parent | 8e67a73556a25a96343a681ab83fb4fd7f73bdeb (diff) | |
download | nouveau-3a333d26a2653600018f1b7fed102b91b8807a30.tar.gz |
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>
-rw-r--r-- | nvkm/core/printk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nvkm/core/printk.c b/nvkm/core/printk.c index 03e0060b1..d6c4d9072 100644 --- a/nvkm/core/printk.c +++ b/nvkm/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; |