Skip to content

Commit 4b011b5

Browse files
i3c: fix I3C_SDR bit number
0x31 is decimal 49 and doesn't fit in a 32 bit integer, switch to the intended decimal 31. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202512020956.Dnz8A2H0-lkp@intel.com/ Closes: https://lore.kernel.org/oe-kbuild-all/202512021613.97jVprvJ-lkp@intel.com/ Closes: https://lore.kernel.org/oe-kbuild-all/202512021644.lp8ZMSx5-lkp@intel.com/ Link: https://patch.msgid.link/20251202153804.2640623-1-alexandre.belloni@bootlin.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 4e7263b commit 4b011b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/i3c/device.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ enum i3c_xfer_mode {
5151
I3C_HDR_TSP = 1,
5252
I3C_HDR_TSL = 2,
5353
/* Use for default SDR transfer mode */
54-
I3C_SDR = 0x31,
54+
I3C_SDR = 31,
5555
};
5656

5757
/**

0 commit comments

Comments
 (0)