projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6cd978
)
Revert "video: fbdev: fbmem: fix pointer reference to null device field"
author
Helge Deller
<deller@gmx.de>
Thu, 14 Apr 2022 20:17:18 +0000
(22:17 +0200)
committer
Helge Deller
<deller@gmx.de>
Thu, 14 Apr 2022 20:25:29 +0000
(22:25 +0200)
This reverts commit
d6cd978f7e6b6f6895f8d0c4ce6e5d2c8e979afe
.
It has been solved differently already.
Signed-off-by: Helge Deller <deller@gmx.de>
Acked-by: Paul Menzel <pmenzel@molgen.mpg.de>
Link:
https://patchwork.freedesktop.org/patch/msgid/20220210065824.368355-1-zhouzhouyi@gmail.com
drivers/video/fbdev/core/fbmem.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/core/fbmem.c
b/drivers/video/fbdev/core/fbmem.c
index
1cfb2bd
..
bdd00d3
100644
(file)
--- a/
drivers/video/fbdev/core/fbmem.c
+++ b/
drivers/video/fbdev/core/fbmem.c
@@
-1579,7
+1579,7
@@
static void do_remove_conflicting_framebuffers(struct apertures_struct *a,
* If it's not a platform device, at least print a warning. A
* fix would add code to remove the device from the system.
*/
- if (dev
ice && dev
_is_platform(device)) {
+ if (dev_is_platform(device)) {
registered_fb[i]->forced_out = true;
platform_device_unregister(to_platform_device(device));
} else {