lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ