* [PATCH 3/4] s390: Fix modalias for ccw devices.
@ 2006-01-23 12:00 Heiko Carstens
0 siblings, 0 replies; only message in thread
From: Heiko Carstens @ 2006-01-23 12:00 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel, Cornelia Huck
From: Cornelia Huck <cohuck@de.ibm.com>
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>
---
drivers/s390/cio/device.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -urpN linux-2.6/drivers/s390/cio/device.c linux-2.6-patched/drivers/s390/cio/device.c
--- linux-2.6/drivers/s390/cio/device.c 2006-01-23 10:05:29.000000000 +0100
+++ linux-2.6-patched/drivers/s390/cio/device.c 2006-01-23 10:05:31.000000000 +0100
@@ -254,7 +254,7 @@ modalias_show (struct device *dev, struc
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",
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-01-23 12:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-23 12:00 [PATCH 3/4] s390: Fix modalias for ccw devices Heiko Carstens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®