diff options
author | Ivan Abramov <i.abramov@mt-integration.ru> | 2025-03-06 14:20:45 +0300 |
---|---|---|
committer | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2025-03-06 14:30:39 +0300 |
commit | 9af152dcf1a06f589f44a74da4ad67e365d4db9a (patch) | |
tree | e91242331175c7318c134d11a9f52a2b228b4d7c /tools/perf/scripts/python/stackcollapse.py | |
parent | 80da96d735094ea22985ced98bc57fe3a4422921 (diff) | |
download | linux-9af152dcf1a06f589f44a74da4ad67e365d4db9a.tar.xz |
drm/gma500: Add NULL check for pci_gfx_root in mid_get_vbt_data()
Since pci_get_domain_bus_and_slot() can return NULL, add NULL check for
pci_gfx_root in the mid_get_vbt_data().
This change is similar to the checks implemented in mid_get_fuse_settings()
and mid_get_pci_revID(), which were introduced by commit 0cecdd818cd7
("gma500: Final enables for Oaktrail") as "additional minor
bulletproofing".
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: f910b411053f ("gma500: Add the glue to the various BIOS and firmware interfaces")
Signed-off-by: Ivan Abramov <i.abramov@mt-integration.ru>
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250306112046.17144-1-i.abramov@mt-integration.ru
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions