artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6c6eae
)
drm/framebuffer: Fix use of uninitialized variable
author
jsg
<jsg@openbsd.org>
Tue, 6 Feb 2024 03:17:19 +0000
(
03:17
+0000)
committer
jsg
<jsg@openbsd.org>
Tue, 6 Feb 2024 03:17:19 +0000
(
03:17
+0000)
From Tomi Valkeinen
9b3fbff86a623a0ec053d5a4ab432956cb025c1f
in linux-6.6.y/6.6.16
f9af8f0c1dc567a5a6a6318ff324c45d80d4a60f
in mainline linux
sys/dev/pci/drm/drm_framebuffer.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/drm_framebuffer.c
b/sys/dev/pci/drm/drm_framebuffer.c
index
8e50e25
..
fa63d80
100644
(file)
--- a/
sys/dev/pci/drm/drm_framebuffer.c
+++ b/
sys/dev/pci/drm/drm_framebuffer.c
@@
-570,7
+570,7
@@
int drm_mode_getfb2_ioctl(struct drm_device *dev,
struct drm_mode_fb_cmd2 *r = data;
struct drm_framebuffer *fb;
unsigned int i;
- int ret;
+ int ret
= 0
;
if (!drm_core_check_feature(dev, DRIVER_MODESET))
return -EINVAL;