[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4EDA0C4B.7030905@calvaedi.com>
Date: Sat, 03 Dec 2011 12:47:23 +0100
From: John Hughes <john@...vaedi.com>
To: Dan Carpenter <dan.carpenter@...cle.com>,
Mattia Dongili <malattia@...ux.it>
CC: John Hughes <john@...va.COM>, platform-driver-x86@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH] Fix scancodes emitted by sony-laptop driver (Version 2 with
warnings fixed)
On 30/11/11 13:55, Dan Carpenter wrote:
> Hi John,
>
> Commit 04840b50f395 "drivers/platform/x86/sony-laptop.c: fix scancodes"
> introduces a gcc warning:
>
> drivers/platform/x86/sony-laptop.c:395:14: warning:
> ‘scancode’ may be used uninitialized in this function [-Wuninitialized]
>
Ok, I've fixed my stupid mistake and also the two bugs in the jogdial
driver (It wasn't setting it's parent and it was emitting scancode
events even though it's not a keyboard device).
View attachment "sony-scancode.patch" of type "text/x-patch" (3162 bytes)
Powered by blists - more mailing lists