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: 3a379bbc ("i3c: Add core I3C infrastructure")
Signed-off-by: Dan Carpenter <email@example.com>
Signed-off-by: Boris Brezillon <firstname.lastname@example.org>