# Re: \[PATCH V2 10/15\] ARM: orion5x: cleanup cppcheck shifting errors

- From: Andrew Lunn \<andrew@lunn.ch\>
- Date: 2019-06-24 13:55:17 
- List: netdev
- Page: https://ratatoskr.run/netdev/2019/06/5638184
- Thread: https://ratatoskr.run/bpf/2019/06/5637122/t.md

```text
On Mon, Jun 24, 2019 at 08:51:00PM +0700, Phong Tran wrote:
> [arch/arm/mach-orion5x/pci.c:281]: (error) Shifting signed 32-bit value
> by 31 bits is undefined behaviour
> [arch/arm/mach-orion5x/pci.c:305]: (error) Shifting signed 32-bit value
> by 31 bits is undefined behaviour
> 
> Signed-off-by: Phong Tran <redacted>
> Reviewed-by: Andrew Lunn <andrew@lunn.ch>

Thanks for swapping to the BIT macro.

       Andrew
```
