diff options
| author | Luben Tuikov <[email protected]> | 2021-03-26 20:13:10 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-07-01 00:24:41 -0400 |
| commit | 803c6ebdd32808834556b20548df9a1d079e4f24 (patch) | |
| tree | 5dfc041247bb050abf3239a770107a604ae6f8e8 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | dce4400e6516d18313d23de45b5be8a18980b00e (diff) | |
drm/amdgpu: Simplify RAS EEPROM checksum calculations
Rename update_table_header() to
write_table_header() as this function is actually
writing it to EEPROM.
Use kernel types; use u8 to carry around the
checksum, in order to take advantage of arithmetic
modulo 8-bits (256).
Tidy up to 80 columns.
When updating the checksum, just recalculate the
whole thing.
Cc: Alexander Deucher <[email protected]>
Cc: Andrey Grodzovsky <[email protected]>
Signed-off-by: Luben Tuikov <[email protected]>
Acked-by: Alexander Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions