From: Dan Carpenter Date: Sat, 9 Jun 2012 04:18:13 +0000 (+0900) Subject: sony-laptop: fix sony_nc_sysfs_store() X-Git-Tag: v3.5~30^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7a2918373983b32db3ca35823d930641747e26f;p=pandora-kernel.git sony-laptop: fix sony_nc_sysfs_store() We made this an unsigned long and it causes a bug on 64 bit big endian systems when we try to pass the value to sony_nc_int_call(). Also value has to be signed because validate() returns negative error codes. Signed-off-by: Dan Carpenter Signed-off-by: Mattia Dongili Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed