提交 e138c7d8 编写于 作者: B Ben Skeggs

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: NBen Skeggs <bskeggs@redhat.com>
上级 95fb6dd7
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册