fbdev: stifb: Fix crash in stifb_blank()
authorHelge Deller <deller@gmx.de>
Mon, 22 Jan 2024 20:26:33 +0000 (21:26 +0100)
committerHelge Deller <deller@gmx.de>
Tue, 23 Jan 2024 08:13:24 +0000 (09:13 +0100)
commit4b088005c897a62fe98f70ab69687706cb2fad3b
tree3e86744c0b294ce7088598936b6e00379f8cfa13
parent018856c3f171517c66d5d7d3755ae0c517924fd7
fbdev: stifb: Fix crash in stifb_blank()

Avoid a kernel crash in stifb by providing the correct pointer to the fb_info
struct. Prior to commit e2e0b838a184 ("video/sticore: Remove info field from
STI struct") the fb_info struct was at the beginning of the fb struct.

Fixes: e2e0b838a184 ("video/sticore: Remove info field from STI struct")
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
drivers/video/fbdev/stifb.c