diff options
| author | Luca Coelho <[email protected]> | 2023-06-01 09:03:38 +0000 |
|---|---|---|
| committer | Jouni Högander <[email protected]> | 2023-08-08 10:45:56 +0000 |
| commit | 757b90bbfa14191cbb8e5f15e313174d2100c38b (patch) | |
| tree | db23c52dcda591e4df7b5013c065942b5b651c2b /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | drm/i915/adls: s/ADLS_RPLS/RAPTORLAKE_S in platform and subplatform defines (diff) | |
| download | kernel-757b90bbfa14191cbb8e5f15e313174d2100c38b.tar.gz kernel-757b90bbfa14191cbb8e5f15e313174d2100c38b.zip | |
drm/i915/display: pre-initialize some values in probe_gmdid_display()
When intel_display_device_probe() (and, subsequently,
probe_gmdid_display()) returns, the caller expects ver, rel and step
to be initialized. Since there's no way to check that there was a
failure and no_display was returned without some further refactoring,
pre-initiliaze all these values to zero to keep it simple and safe.
Signed-off-by: Luca Coelho <[email protected]>
Reviewed-by: Suraj Kandpal <[email protected]>
Signed-off-by: Jouni Högander <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
