]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
sony: fix rfkill code
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 7 Jun 2009 19:57:08 +0000 (21:57 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 10 Jun 2009 17:27:55 +0000 (13:27 -0400)
commitfc240e3fc5791c572402b0857948da7b1e68d77f
tree8b3feae524e121796021f618abeae5c4cd0d9e02
parentb91d0e364077fad401454699143ad6a78902c20a
sony: fix rfkill code

During the rfkill conversion I added code to call
sony_nc_rfkill_set with the wrong argument, causing
a segfault Reinette reported. The compiler could not
catch that because the argument is, and needs to be,
void *.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reported-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/platform/x86/sony-laptop.c