diff options
author | Lespiau, Damien <damien.lespiau@intel.com> | 2014-03-24 19:53:18 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-03-28 06:57:56 +0400 |
commit | 0ed0298353476f7baac94b9a634fbde042a3796d (patch) | |
tree | 767fc4dac435863db5b7e939fa34ca4572be0e48 | |
parent | 1287aa903f1b9248f34fb215e3b875d2ae243425 (diff) | |
download | linux-0ed0298353476f7baac94b9a634fbde042a3796d.tar.xz |
drm: Remove the ', ' after the function name in debug logs
Right now a debug message looks like:
[drm:drm_ioctl], pid=860, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCRTC
That first comma looks weird as we already have ']' as a separator.
Remove it.
If anyone sees this commit message and also thinks that auth=1 isn't the
most useful info to have here, let's just say I'd happily review a patch
removing it. If I don't get annoyed enough to submit a patch, that is.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/drm_stub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_stub.c b/drivers/gpu/drm/drm_stub.c index 9b148738c9be..ed8a99576df3 100644 --- a/drivers/gpu/drm/drm_stub.c +++ b/drivers/gpu/drm/drm_stub.c @@ -106,7 +106,7 @@ void drm_ut_debug_printk(const char *function_name, const char *format, ...) vaf.fmt = format; vaf.va = &args; - printk(KERN_DEBUG "[" DRM_NAME ":%s], %pV", function_name, &vaf); + printk(KERN_DEBUG "[" DRM_NAME ":%s] %pV", function_name, &vaf); va_end(args); } |