Re: [PATCH 3/5] board: phytec: check eeprom_data validity

2024-04-23 Thread Teresa Remmet
Am Freitag, dem 19.04.2024 um 08:55 -0700 schrieb Daniel Schultz: > From: Yannic Moog > > For all of the functions that access the eeprom_data, make sure these > data are valid. Use the valid member of the phytec_eeprom_data > struct. > This fixes a bug where only the API revision check guarded

[PATCH 3/5] board: phytec: check eeprom_data validity

2024-04-19 Thread Daniel Schultz
From: Yannic Moog For all of the functions that access the eeprom_data, make sure these data are valid. Use the valid member of the phytec_eeprom_data struct. This fixes a bug where only the API revision check guarded against accessing rubbish. But if API revision was e.g. 6, eeprom setup failed