aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorpancho horrillo <[email protected]>2009-12-23 11:09:13 +0100
committerGreg Kroah-Hartman <[email protected]>2009-12-23 11:34:20 -0800
commit37e9066b2f85480d99d3795373f5ef0b00ac1189 (patch)
treeec426c51304b2d70f8c981e72faed37a14ad3818 /net/lapb/lapb_in.c
parentc983202bd03eb82394ef1dce5906702fcbc7bb80 (diff)
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 <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions