commit | 7d54d0d38ec42559c891526f079f1e035cd4b3ae | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Nov 07 15:43:22 2017 +0300 |
committer | Sebastian Reichel <sebastian.reichel@collabora.co.uk> | Fri Dec 01 16:08:00 2017 +0100 |
tree | 47373f4f669f0800e34172bca04fdd413aa68d0b | |
parent | 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 [diff] |
power: supply: sbs-message: double left shift bug in sbsm_select() The original code does this: "1 << (1 << 11)" which is undefined in C. Fixes: dbc4deda03fe ("power: Adds support for Smart Battery System Manager") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>