artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c902f32
)
drm/i915/gvt: Fix uninitialized variable in handle_mmio()
author
jsg
<jsg@openbsd.org>
Mon, 19 Feb 2024 01:48:23 +0000
(
01:48
+0000)
committer
jsg
<jsg@openbsd.org>
Mon, 19 Feb 2024 01:48:23 +0000
(
01:48
+0000)
From Dan Carpenter
41d5340cb01e1b076ae4d58cb91da9552bac64c4
in linux-6.6.y/6.6.17
47caa96478b99d6d1199b89467cc3e5a6cc754ee
in mainline linux
sys/dev/pci/drm/i915/gvt/handlers.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/i915/gvt/handlers.c
b/sys/dev/pci/drm/i915/gvt/handlers.c
index
a9f7fa9
..
d30f881
100644
(file)
--- a/
sys/dev/pci/drm/i915/gvt/handlers.c
+++ b/
sys/dev/pci/drm/i915/gvt/handlers.c
@@
-2850,8
+2850,7
@@
static int handle_mmio(struct intel_gvt_mmio_table_iter *iter, u32 offset,
for (i = start; i < end; i += 4) {
p = intel_gvt_find_mmio_info(gvt, i);
if (p) {
- WARN(1, "dup mmio definition offset %x\n",
- info->offset);
+ WARN(1, "dup mmio definition offset %x\n", i);
/* We return -EEXIST here to make GVT-g load fail.
* So duplicated MMIO can be found as soon as