]> git.ipfire.org Git - thirdparty/linux.git/commit
i3c: prefix hexadecimal entries in sysfs
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 7 Jul 2025 11:54:08 +0000 (13:54 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 7 Jul 2025 21:18:58 +0000 (23:18 +0200)
commit12aa3e0cb0c6f8d406be00bc9f5d89bfbee7b9d9
treef619c8b701027fa5e9d13a3e278795c32d4572ac
parent8d53c0d645e3b2a1e341ffb4dbea345c55035c6b
i3c: prefix hexadecimal entries in sysfs

Hexadecimal values in sysfs should be prefixed with '0x' like e.g. PCI
and SCSI already do it. Also ensure the two digit length since BCR and
DCR are a byte in size.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250707115409.73545-2-wsa+renesas@sang-engineering.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master.c