]> err.no Git - linux-2.6/commit
sony-laptop: fix uninitialised variable
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 6 Mar 2007 10:29:42 +0000 (02:29 -0800)
committerLen Brown <len.brown@intel.com>
Wed, 7 Mar 2007 08:05:13 +0000 (03:05 -0500)
commit8607c673bdd593d4ce439a36412a213a8efb282b
treef28958a951470d8f528ccbca99972ff0658f7002
parent08e15e81a40e3241ce93b4a43886f3abda184aa6
sony-laptop: fix uninitialised variable

drivers/misc/sony-laptop.c: In function 'sony_acpi_add':
drivers/misc/sony-laptop.c:456: warning: 'result' may be used uninitialized in this function

The compiler seems to actually be telling the truth this time.

Cc: Mattia Dongili <malattia@linux.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/sony-laptop.c