i2c: iproc: Fix shifting 31 bits
Fix undefined behaviour in the iProc I2C driver by using 'BIT' marcro. Reported-by: NWolfram Sang <wsa@kernel.org> Signed-off-by: NRay Jui <ray.jui@broadcom.com> Acked-by: NFlorian Fainelli <f.fainelli@gmail.com> [wsa: in commit msg, don't say 'checkpatch' but name the issue] Signed-off-by: NWolfram Sang <wsa@kernel.org>
Showing
想要评论请 注册 或 登录