Переглянути джерело

drm: reduce WARN_ON to a printk.

Lots of ppl keep thinking this is an oops, it was just a warning for
me to see, just make it a printk now.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Dave Airlie 15 роки тому
батько
коміт
94fd163d86
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      drivers/gpu/drm/drm_crtc_helper.c

+ 1 - 1
drivers/gpu/drm/drm_crtc_helper.c

@@ -1032,7 +1032,7 @@ bool drm_helper_initial_config(struct drm_device *dev)
 	/*
 	 * we shouldn't end up with no modes here.
 	 */
-	WARN(!count, "No connectors reported connected with modes\n");
+	printk(KERN_INFO "No connectors reported conncted with modes\n");
 
 	drm_setup_crtcs(dev);