Re: [PATCH 35/40] drm/amdgpu: Simplify RAS EEPROM checksum calculations

2021-06-11 Thread Alex Deucher
On Tue, Jun 8, 2021 at 5:41 PM Luben Tuikov wrote: > > 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 u

[PATCH 35/40] drm/amdgpu: Simplify RAS EEPROM checksum calculations

2021-06-08 Thread Luben Tuikov
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 who