diff options
author | pancho horrillo <pancho@pancho.name> | 2009-12-23 11:09:13 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-23 20:34:20 +0100 |
commit | 37e9066b2f85480d99d3795373f5ef0b00ac1189 (patch) | |
tree | ec426c51304b2d70f8c981e72faed37a14ad3818 /fs/ocfs2/aops.c | |
parent | USB: option: support hi speed for modem Haier CE100 (diff) | |
download | linux-37e9066b2f85480d99d3795373f5ef0b00ac1189.tar.xz linux-37e9066b2f85480d99d3795373f5ef0b00ac1189.zip |
USB: Fix a bug on appledisplay.c regarding signedness
brightness status is reported by the Apple Cinema Displays as an
'unsigned char' (u8) value, but the code used 'char' instead.
Note that he driver was developed on the PowerPC architecture,
where the two types are synonymous, which is not always the case.
Fixed that. Otherwise the driver will interpret brightness
levels > 127 as negative, and fail to load.
Signed-off-by: pancho horrillo <pancho@pancho.name>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/ocfs2/aops.c')
0 files changed, 0 insertions, 0 deletions