diff options
author | Boris Brezillon <boris.brezillon@collabora.com> | 2020-02-27 14:31:06 +0300 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@collabora.com> | 2020-02-27 18:51:18 +0300 |
commit | 12e21a23ccf3bdd1e3207001422235e24d865ac4 (patch) | |
tree | 92877f41c50f90244c4e80a410aa67cbadc6639f /drivers/i3c | |
parent | de8964995c798fcf372980e5d819eec8cf3e41e1 (diff) | |
download | linux-12e21a23ccf3bdd1e3207001422235e24d865ac4.tar.xz |
i3c: Fix MODALIAS uevents
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@collabora.com>
Signed-off-by: Vitor Soares <vitor.soares@synopsys.com>
Link: https://lore.kernel.org/linux-i3c/9ac5f1f8413fbb0481de76b5e43f2f4e1b2dc49f.1582796652.git.vitor.soares@synopsys.com
Diffstat (limited to 'drivers/i3c')
-rw-r--r-- | drivers/i3c/master.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i3c/master.c b/drivers/i3c/master.c index b56207bbed2b..b6db82862a63 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); } |