linux-imx/drivers/platform
Andy Shevchenko 615514a2ca platform/x86: samsung-laptop: Initialize loca variable
commit 0d2c95354a upstream.

The variable is used uninitialized which might come into unexpected
behaviour on some Samsung laptops.

Initialize it to 0xffff which seems a proper value for non-supported
feature.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2017-11-11 13:34:46 +00:00
..
x86 platform/x86: samsung-laptop: Initialize loca variable 2017-11-11 13:34:46 +00:00
Kconfig Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
Makefile create drivers/platform/x86/ from drivers/misc/ 2008-12-19 04:42:32 -05:00