Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
power: supply: sbs-message: double left shift bug in sbsm_select()
[ Upstream commit 7d54d0d ] The original code does this: "1 << (1 << 11)" which is undefined in C. Fixes: dbc4ded ("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> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information