mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-10 12:26:40 +07:00
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>
This commit is contained in:
parent
95fb6dd728
commit
e138c7d8fc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user