diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2024-01-26 09:41:47 +0100 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2024-02-05 04:16:26 +0100 |
commit | 47caa96478b99d6d1199b89467cc3e5a6cc754ee (patch) | |
tree | a4d937542ba84829615a42992ff78e3446a286f2 /MAINTAINERS | |
parent | drm/i915: Replace dead 01.org link (diff) | |
download | linux-47caa96478b99d6d1199b89467cc3e5a6cc754ee.tar.xz linux-47caa96478b99d6d1199b89467cc3e5a6cc754ee.zip |
drm/i915/gvt: Fix uninitialized variable in handle_mmio()
This code prints the wrong variable in the warning message. It should
print "i" instead of "info->offset". On the first iteration "info" is
uninitialized leading to a crash and on subsequent iterations it prints
the previous offset instead of the current one.
Fixes: e0f74ed4634d ("i915/gvt: Separate the MMIO tracking table from GVT-g")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/11957c20-b178-4027-9b0a-e32e9591dd7c@moroto.mountain
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions