[PATCH 3/4] s390: Fix modalias for ccw devices.

From: Heiko Carstens
Date: Mon Jan 23 2006 - 06:59:36 EST


From: Cornelia Huck <cohuck@xxxxxxxxxx>

Fix modalias for ccw devices: cu_type should be in capitals as well.

Signed-off-by: Cornelia Huck <cohuck@xxxxxxxxxx>
Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
---

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",
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/