From: Andy Shevchenko Date: Wed, 7 Jun 2017 13:56:15 +0000 (+0300) Subject: platform/x86: samsung-laptop: Initialize loca variable X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=615514a2cac10d1b92e3ed06e1c1d884d8c4333a;p=pandora-kernel.git platform/x86: samsung-laptop: Initialize loca variable commit 0d2c95354a3b63256e92d9fb865c08902d2c9b0b 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 Signed-off-by: Andy Shevchenko [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed