commit | 0204081128d582965e9e39ca83ee6e4f7d27142b | [log] [tgz] |
---|---|---|
author | Ray Jui <ray.jui@broadcom.com> | Fri Aug 14 15:40:08 2020 -0700 |
committer | Wolfram Sang <wsa@kernel.org> | Tue Aug 25 09:46:38 2020 +0200 |
tree | 05b5dac3fa145f9f7a3c9ed7edf089907af3e41a | |
parent | 914a7b3563b8fb92f976619bbd0fa3a4a708baae [diff] |
i2c: iproc: Fix shifting 31 bits Fix undefined behaviour in the iProc I2C driver by using 'BIT' marcro. Reported-by: Wolfram Sang <wsa@kernel.org> Signed-off-by: Ray Jui <ray.jui@broadcom.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> [wsa: in commit msg, don't say 'checkpatch' but name the issue] Signed-off-by: Wolfram Sang <wsa@kernel.org>