[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <9ac5f1f8413fbb0481de76b5e43f2f4e1b2dc49f.1582796652.git.vitor.soares@synopsys.com>
Date: Thu, 27 Feb 2020 12:31:06 +0100
From: Vitor Soares <Vitor.Soares@...opsys.com>
To: pgaj@...ence.com, bbrezillon@...nel.org,
linux-i3c@...ts.infradead.org
Cc: linux-kernel@...r.kernel.org,
Boris Brezillon <boris.brezillon@...labora.com>,
Vitor Soares <Vitor.Soares@...opsys.com>
Subject: [PATCH v2 1/4] i3c: Fix MODALIAS uevents
From: Boris Brezillon <boris.brezillon@...labora.com>
file2alias uses %X formatters. Fix typos in the MODALIAS uevent to print
the part and ext IDs in uppercase.
Signed-off-by: Boris Brezillon <boris.brezillon@...labora.com>
Signed-off-by: Vitor Soares <vitor.soares@...opsys.com>
---
drivers/i3c/master.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i3c/master.c b/drivers/i3c/master.c
index b56207b..b6db828 100644
--- a/drivers/i3c/master.c
+++ b/drivers/i3c/master.c
@@ -267,7 +267,7 @@ static int i3c_device_uevent(struct device *dev, struct kobj_uevent_env *env)
devinfo.dcr, manuf);
return add_uevent_var(env,
- "MODALIAS=i3c:dcr%02Xmanuf%04Xpart%04xext%04x",
+ "MODALIAS=i3c:dcr%02Xmanuf%04Xpart%04Xext%04X",
devinfo.dcr, manuf, part, ext);
}
--
2.7.4
Powered by blists - more mailing lists