From: Ben Skeggs Date: Fri, 5 Dec 2014 00:55:50 +0000 (+1000) Subject: drm/nouveau/core: drop the pointer value in debug printk output X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e138c7d8fcb4b40a31346b8ffb955f8f25adba3f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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;