forked from Minki/linux
476c7e1d34
The problem here is that addr can be I3C_BROADCAST_ADDR (126). That
means we're shifting by (126 * 2) % 64 which is 60. The
I3C_ADDR_SLOT_STATUS_MASK is an enum which is an unsigned int in GCC
so shifts greater than 31 are undefined.
Fixes:
|
||
---|---|---|
.. | ||
master | ||
device.c | ||
internals.h | ||
Kconfig | ||
Makefile | ||
master.c |