fbcon: Call WARN_CONSOLE_UNLOCKED() where applicable
authorHans de Goede <hdegoede@redhat.com>
Thu, 28 Jun 2018 13:20:28 +0000 (15:20 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Thu, 28 Jun 2018 13:20:28 +0000 (15:20 +0200)
commit3bd3a0e330aae4fffa8028aba2407ef615ab040b
treeb66c3b4f738126414ca3f74b507434f3655cfa65
parentd48de54a9dab5370edd2e991f78cc7996cf5483e
fbcon: Call WARN_CONSOLE_UNLOCKED() where applicable

Replace comments about places where the console lock should be held with
calls to WARN_CONSOLE_UNLOCKED() to assert that it is actually held.

Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/core/fbcon.c