artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ad3b71
)
drm/drm_file: fix use of uninitialized variable
author
jsg
<jsg@openbsd.org>
Tue, 6 Feb 2024 03:15:49 +0000
(
03:15
+0000)
committer
jsg
<jsg@openbsd.org>
Tue, 6 Feb 2024 03:15:49 +0000
(
03:15
+0000)
From Tomi Valkeinen
2cde325e185b43accae56a23c18b2e735245197a
in linux-6.6.y/6.6.16
1d3062fad9c7313fff9970a88e0538a24480ffb8
in mainline linux
sys/dev/pci/drm/drm_file.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/drm_file.c
b/sys/dev/pci/drm/drm_file.c
index
d3edc2c
..
1920e89
100644
(file)
--- a/
sys/dev/pci/drm/drm_file.c
+++ b/
sys/dev/pci/drm/drm_file.c
@@
-994,7
+994,7
@@
void drm_show_memory_stats(struct drm_printer *p, struct drm_file *file)
{
struct drm_gem_object *obj;
struct drm_memory_stats status = {};
- enum drm_gem_object_status supported_status;
+ enum drm_gem_object_status supported_status
= 0
;
int id;
spin_lock(&file->table_lock);