[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251202153804.2640623-1-alexandre.belloni@bootlin.com>
Date: Tue, 2 Dec 2025 16:38:02 +0100
From: alexandre.belloni@...tlin.com
To: Alexandre Belloni <alexandre.belloni@...tlin.com>,
Frank Li <Frank.Li@....com>
Cc: kernel test robot <lkp@...el.com>,
linux-i3c@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 1/2] i3c: fix I3C_SDR bit number
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
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@...el.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/
Signed-off-by: Alexandre Belloni <alexandre.belloni@...tlin.com>
---
include/linux/i3c/device.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
};
/**
--
2.52.0
Powered by blists - more mailing lists