]> Git Repo - linux.git/commit
fbcon: Introduce wrapper for console->fb_info lookup
authorDaniel Vetter <[email protected]>
Tue, 5 Apr 2022 21:03:21 +0000 (23:03 +0200)
committerDaniel Vetter <[email protected]>
Thu, 7 Apr 2022 14:52:13 +0000 (16:52 +0200)
commit409d6c95f9c68bb7046410a3502e26e454a1e636
tree44e585d589b4a2951363830e470ed420053948eb
parent689333136327b6cd618df85d83d79f2aa620d585
fbcon: Introduce wrapper for console->fb_info lookup

Half of it is protected by console_lock, but the other half is a lot
more awkward: Registration/deregistration of fbdev are serialized, but
we don't really clear out anything in con2fb_map and so there's
potential for use-after free mixups.

First step is to encapsulate the lookup.

Acked-by: Thomas Zimmermann <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Cc: Helge Deller <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Tetsuo Handa <[email protected]>
Cc: Du Cheng <[email protected]>
Cc: Claudio Suarez <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/video/fbdev/core/fbcon.c
This page took 0.059492 seconds and 4 git commands to generate.