diff options
| author | John Harrison <[email protected]> | 2023-05-02 16:40:06 -0700 |
|---|---|---|
| committer | John Harrison <[email protected]> | 2023-05-05 15:33:57 -0700 |
| commit | bef550c952a71df6a6e86b11bdac5b10dac29163 (patch) | |
| tree | 8c5b9c4c637de5afb38bcd50aa01870e8de5f763 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | edba77891b58a1f0626daf8598717b8efb307bc8 (diff) | |
drm/i915/uc: Reject duplicate entries in firmware table
It was noticed that duplicate entries in the firmware table could cause
an infinite loop in the firmware loading code if that entry failed to
load. Duplicate entries are a bug anyway and so should never happen.
Ensure they don't by tweaking the table validation code to reject
duplicates.
For full m/m/p files, that can be done by simply tweaking the patch
level check to reject matching values. For reduced version entries,
the filename itself must be compared.
v2: Improve comment (review by Daniele)
Signed-off-by: John Harrison <[email protected]>
Reviewed-by: Daniele Ceraolo Spurio <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions