On 08/05/2026 19:58, Simon Glass wrote: > Hi Nora, > > On 2026-05-08T08:48:28, Feilke, Alexander > <[email protected]> wrote: >> diff --git a/drivers/sysinfo/tq_eeprom.c b/drivers/sysinfo/tq_eeprom.c >> @@ -0,0 +1,223 @@ >> + for (i = 0; i < sizeof(data->id); i++) { >> + if (!(isprint(data->id[i]) && isascii(data->id[i]))) >> + break; >> + } > isprint() already implies the ASCII printable range - you can drop the > isascii() check. isprint() alone does not eliminate 0xff, which is the default value for an erased eeprom.
- [PATCH 1/6] sysinfo: uclass: use sysinfo_priv size for p... Alexander Feilke
- [PATCH 6/6] boards: tqma7: integrate sysinfo_tq_eeprom d... Alexander Feilke
- [PATCH 5/6] board: tq: common: add sysinfo helpers Alexander Feilke
- Re: [PATCH 5/6] board: tq: common: add sysinfo help... Simon Glass
- Re: [PATCH 5/6] board: tq: common: add sysinfo ... Feilke, Alexander
- [PATCH 3/6] sysinfo: tq_eeprom: new driver Alexander Feilke
- Re: [PATCH 3/6] sysinfo: tq_eeprom: new driver Simon Glass
- Re: [PATCH 3/6] sysinfo: tq_eeprom: new driver Feilke, Alexander
- [PATCH 4/6] sysinfo: add IDs for RAM size and variant Alexander Feilke
- Re: [PATCH 4/6] sysinfo: add IDs for RAM size and v... Simon Glass
- Re: [PATCH 4/6] sysinfo: add IDs for RAM size a... Feilke, Alexander
- Re: [0/6] TQMa7 eeprom sysinfo driver Simon Glass

