Skip to content
Commit 228336f5 authored by Wolfram Sang's avatar Wolfram Sang
Browse files

i2c: pci1xxxx: prevent signed integer overflow



Some constants need 'UL' markings, otherwise they are shifted into the
sign bit.

Fixes: 36169369 ("i2c: microchip: pci1xxxx: Add driver for I2C host controller in multifunction endpoint of pci1xxxx switch")
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent 492baeb9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment