diff options
| author | Colin Ian King <colin.i.king@gmail.com> | 2025-09-24 11:22:08 +0100 |
|---|---|---|
| committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2025-09-30 10:31:44 -0400 |
| commit | 20f3b28e2e07747fd27301f0f5deb3cb569ee15c (patch) | |
| tree | 2ffe80c4c2d21f4769f67fccf145b6d9e22525bc /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 8f1756a7ea33b352a54e6f53d76c552b3a424187 (diff) | |
| download | linux-20f3b28e2e07747fd27301f0f5deb3cb569ee15c.tar.gz linux-20f3b28e2e07747fd27301f0f5deb3cb569ee15c.zip | |
drm/xe/xe_late_bind_fw: Fix missing initialization of variable offset
The variable offset is not being initialized, and it is only set inside
a for-loop if entry->name is the same as manifest_entry. In the case
where it is not initialized a non-zero check on offset is potentialy checking
a bogus uninitalized value. Fix this by initializing offset to zero.
Fixes: efa29317a553 ("drm/xe/xe_late_bind_fw: Extract and print version info")
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Badal Nilawar <badal.nilawar@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://lore.kernel.org/r/20250924102208.9216-1-colin.i.king@gmail.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
