mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-14 12:49:08 +00:00
[PATCH] s390: Fix modalias for ccw devices
Fix modalias for ccw devices: cu_type should be in capitals as well. Signed-off-by: Cornelia Huck <cohuck@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
54dfe5dd9a
commit
b1969fa46d
@ -254,7 +254,7 @@ modalias_show (struct device *dev, struct device_attribute *attr, char *buf)
|
||||
struct ccw_device_id *id = &(cdev->id);
|
||||
int ret;
|
||||
|
||||
ret = sprintf(buf, "ccw:t%04Xm%02x",
|
||||
ret = sprintf(buf, "ccw:t%04Xm%02X",
|
||||
id->cu_type, id->cu_model);
|
||||
if (id->dev_type != 0)
|
||||
ret += sprintf(buf + ret, "dt%04Xdm%02X\n",
|
||||
|
Loading…
Reference in New Issue
Block a user