diff options
author | Vasiliy Kulikov <[email protected]> | 2010-11-11 14:05:11 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-11-12 07:55:31 -0800 |
commit | 1093736b3c34319b8f1825a4423414d9cf397d73 (patch) | |
tree | f1b491b897e5f25b4677b440966add568892b2db /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 90482e45e4a39ee10b66436c2b3d5d4d88c2f73c (diff) |
drivers/misc/apds9802als.c: fix signedness bug
i2c_smbus_read_byte_data() may return negative error code. This is not
seen to als_sensing_range_store() as the result is stored in unsigned int.
Made it signed.
Signed-off-by: Vasiliy Kulikov <[email protected]>
Cc: Hong Liu <[email protected]>
Cc: Alan Cox <[email protected]>
Cc: Anantha Narayanan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions