Re: [PATCH] smbios: Fix table when no string is present

2021-04-21 Thread Simon Glass
Hi Matthias, On Thu, 25 Mar 2021 at 16:38, Matthias Brugger wrote: > > > > On 25/03/2021 01:38, Simon Glass wrote: > > Hi Matthias, > > > > On Thu, 18 Mar 2021 at 00:30, wrote: > >> > >> From: Matthias Brugger > >> > >> When no string is present in a table, next_ptr points to the same > >>

Re: [PATCH] smbios: Fix table when no string is present

2021-03-24 Thread Matthias Brugger
On 25/03/2021 01:38, Simon Glass wrote: > Hi Matthias, > > On Thu, 18 Mar 2021 at 00:30, wrote: >> >> From: Matthias Brugger >> >> When no string is present in a table, next_ptr points to the same >> location as eos. When calculating the string table length, we would only >> reserve one \0.

Re: [PATCH] smbios: Fix table when no string is present

2021-03-24 Thread Simon Glass
Hi Matthias, On Thu, 18 Mar 2021 at 00:30, wrote: > > From: Matthias Brugger > > When no string is present in a table, next_ptr points to the same > location as eos. When calculating the string table length, we would only > reserve one \0. By spec a SMBIOS table has to end with two \0\0 when no

[PATCH] smbios: Fix table when no string is present

2021-03-17 Thread matthias . bgg
From: Matthias Brugger When no string is present in a table, next_ptr points to the same location as eos. When calculating the string table length, we would only reserve one \0. By spec a SMBIOS table has to end with two \0\0 when no strings a present. Signed-off-by: Matthias Brugger ---