Skip to content
Commit d6cd978f authored by Zhouyi Zhou's avatar Zhouyi Zhou Committed by Helge Deller
Browse files

video: fbdev: fbmem: fix pointer reference to null device field



In function do_remove_conflicting_framebuffers, if device is NULL, there
will be null pointer reference. The patch add a check to the if expression.

Signed-off-by: default avatarZhouyi Zhou <zhouzhouyi@gmail.com>
Acked-by: default avatarPaul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220210065824.368355-1-zhouzhouyi@gmail.com
parent 16a54d4e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment