Re: [PATCH v2 1/3] dell-laptop: Clear buffer before each SMBIOS call

2015-07-07 Thread Darren Hart
On Tue, Jul 07, 2015 at 04:04:57PM +0200, Pali Rohár wrote: > On Monday 06 July 2015 15:39:37 Darren Hart wrote: > > On Mon, Jul 06, 2015 at 12:08:55PM +0200, Pali Rohár wrote: > > > Make sure that before initializing SMBIOS call input buffer does not > > > contain any garbage (e.g. values from pre

Re: [PATCH v2 1/3] dell-laptop: Clear buffer before each SMBIOS call

2015-07-07 Thread Pali Rohár
On Monday 06 July 2015 15:39:37 Darren Hart wrote: > On Mon, Jul 06, 2015 at 12:08:55PM +0200, Pali Rohár wrote: > > Make sure that before initializing SMBIOS call input buffer does not > > contain any garbage (e.g. values from previous SMBIOS call). This fix > > problem with passing undefined/rand

Re: [PATCH v2 1/3] dell-laptop: Clear buffer before each SMBIOS call

2015-07-06 Thread Darren Hart
On Mon, Jul 06, 2015 at 12:08:55PM +0200, Pali Rohár wrote: > Make sure that before initializing SMBIOS call input buffer does not > contain any garbage (e.g. values from previous SMBIOS call). This fix > problem with passing undefined/random parameters to SMBIOS functions. > > Signed-off-by: Pali

[PATCH v2 1/3] dell-laptop: Clear buffer before each SMBIOS call

2015-07-06 Thread Pali Rohár
Make sure that before initializing SMBIOS call input buffer does not contain any garbage (e.g. values from previous SMBIOS call). This fix problem with passing undefined/random parameters to SMBIOS functions. Signed-off-by: Pali Rohár --- drivers/platform/x86/dell-laptop.c | 11 ++- 1