diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-08-19 08:37:50 +0100 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2016-08-22 12:05:06 -0400 |
commit | b4ba97e76763c4e582e3af1079e220e93b1b0d76 (patch) | |
tree | ea85d8a800e620235819bd22cce664c7e7b884f3 /drivers/gpu/drm/udl/udl_main.c | |
parent | ec913f31a570b57e72e69b4122de70a6b2ef760f (diff) | |
download | linux-b4ba97e76763c4e582e3af1079e220e93b1b0d76.tar.bz2 |
drm: Avoid calling dev_printk(.dev = NULL)
Since dev_printk likes to print "(NULL device *):" when passed in a NULL
pointer, we have to manually call printk() ourselves.
Fixes: c4e68a583202 ("drm: Introduce DRM_DEV_* log messages")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Eric Engestrom <eric.engestrom@imgtec.com>
Cc: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20160819073750.16610-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/udl/udl_main.c')
0 files changed, 0 insertions, 0 deletions