[PATCH] drm: Avoid calling dev_printk(.dev = NULL)

2016-08-22 Thread Sean Paul
On Fri, Aug 19, 2016 at 7:33 AM, Sean Paul wrote: > On Aug 19, 2016 12:37 AM, "Chris Wilson" wrote: >> >> 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

[PATCH] drm: Avoid calling dev_printk(.dev = NULL)

2016-08-19 Thread Chris Wilson
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 Cc: Eric Engestrom Cc: Sean Paul --- drivers/gpu/drm/drm_drv.c | 7 +--

[PATCH] drm: Avoid calling dev_printk(.dev = NULL)

2016-08-19 Thread Sean Paul
On Aug 19, 2016 12:37 AM, "Chris Wilson" wrote: > > 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 > Cc: Eric