diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-06-07 16:56:15 +0300 |
---|---|---|
committer | Darren Hart (VMware) <dvhart@infradead.org> | 2017-06-13 11:00:16 -0700 |
commit | 0d2c95354a3b63256e92d9fb865c08902d2c9b0b (patch) | |
tree | 4bbade4da2d19e8ea366a1f70ff35c59203450ca /drivers/platform/x86/panasonic-laptop.c | |
parent | bff589be59c50924a9715951160578e570cba5c6 (diff) | |
download | linux-0d2c95354a3b63256e92d9fb865c08902d2c9b0b.tar.bz2 |
platform/x86: samsung-laptop: Initialize loca variable
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>
Diffstat (limited to 'drivers/platform/x86/panasonic-laptop.c')
0 files changed, 0 insertions, 0 deletions