summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2025-12-02 16:38:02 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2025-12-02 17:16:30 +0100
commit4b011b538f2b90d07580ff778e28954a4a6520eb (patch)
tree8c35918e49730b66df6ca4ca9dc9cba30f1c1ebd
parent4e7263b87ca362825beeac669dcbe24aae2c6257 (diff)
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>
-rw-r--r--include/linux/i3c/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/i3c/device.h b/include/linux/i3c/device.h
index ae0662d9d77e..9fcb6410a584 100644
--- a/include/linux/i3c/device.h
+++ b/include/linux/i3c/device.h
@@ -51,7 +51,7 @@ enum i3c_xfer_mode {
I3C_HDR_TSP = 1,
I3C_HDR_TSL = 2,
/* Use for default SDR transfer mode */
- I3C_SDR = 0x31,
+ I3C_SDR = 31,
};
/**