Re: [PATCH 1/1] smbios: amend the description of smbios_string()

2021-10-25 Thread Simon Glass
Hi Heinrich, On Mon, 25 Oct 2021 at 01:26, Heinrich Schuchardt wrote: > > On 10/24/21 21:54, Simon Glass wrote: > > Hi Heinrich, > > > > On Thu, 21 Oct 2021 at 03:16, Heinrich Schuchardt > > wrote: > >> > >> Add a warning that this function only works for strings preceding the first > >> non-str

Re: [PATCH 1/1] smbios: amend the description of smbios_string()

2021-10-25 Thread Heinrich Schuchardt
On 10/24/21 21:54, Simon Glass wrote: Hi Heinrich, On Thu, 21 Oct 2021 at 03:16, Heinrich Schuchardt wrote: Add a warning that this function only works for strings preceding the first non-string field. What is a non-string field? If you mean an int field, for example, then that would not ha

Re: [PATCH 1/1] smbios: amend the description of smbios_string()

2021-10-24 Thread Simon Glass
Hi Heinrich, On Thu, 21 Oct 2021 at 03:16, Heinrich Schuchardt wrote: > > Add a warning that this function only works for strings preceding the first > non-string field. What is a non-string field? If you mean an int field, for example, then that would not have an entry in the string table, so I

[PATCH 1/1] smbios: amend the description of smbios_string()

2021-10-21 Thread Heinrich Schuchardt
Add a warning that this function only works for strings preceding the first non-string field. Signed-off-by: Heinrich Schuchardt --- include/smbios.h | 4 1 file changed, 4 insertions(+) diff --git a/include/smbios.h b/include/smbios.h index aa6b6f3849..b7a1b8e412 100644 --- a/include/smbi