diff options
Diffstat (limited to 'drivers/s390/cio/device.c')
| -rw-r--r-- | drivers/s390/cio/device.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/s390/cio/device.c b/drivers/s390/cio/device.c index a67e7e60e330..062fb100d94c 100644 --- a/drivers/s390/cio/device.c +++ b/drivers/s390/cio/device.c | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * drivers/s390/cio/device.c | 2 | * drivers/s390/cio/device.c |
| 3 | * bus driver for ccw devices | 3 | * bus driver for ccw devices |
| 4 | * $Revision: 1.140 $ | ||
| 5 | * | 4 | * |
| 6 | * Copyright (C) 2002 IBM Deutschland Entwicklung GmbH, | 5 | * Copyright (C) 2002 IBM Deutschland Entwicklung GmbH, |
| 7 | * IBM Corporation | 6 | * IBM Corporation |
| @@ -255,7 +254,7 @@ modalias_show (struct device *dev, struct device_attribute *attr, char *buf) | |||
| 255 | struct ccw_device_id *id = &(cdev->id); | 254 | struct ccw_device_id *id = &(cdev->id); |
| 256 | int ret; | 255 | int ret; |
| 257 | 256 | ||
| 258 | ret = sprintf(buf, "ccw:t%04Xm%02x", | 257 | ret = sprintf(buf, "ccw:t%04Xm%02X", |
| 259 | id->cu_type, id->cu_model); | 258 | id->cu_type, id->cu_model); |
| 260 | if (id->dev_type != 0) | 259 | if (id->dev_type != 0) |
| 261 | ret += sprintf(buf + ret, "dt%04Xdm%02X\n", | 260 | ret += sprintf(buf + ret, "dt%04Xdm%02X\n", |
| @@ -1013,7 +1012,7 @@ ccw_device_probe_console(void) | |||
| 1013 | int ret; | 1012 | int ret; |
| 1014 | 1013 | ||
| 1015 | if (xchg(&console_cdev_in_use, 1) != 0) | 1014 | if (xchg(&console_cdev_in_use, 1) != 0) |
| 1016 | return NULL; | 1015 | return ERR_PTR(-EBUSY); |
| 1017 | sch = cio_probe_console(); | 1016 | sch = cio_probe_console(); |
| 1018 | if (IS_ERR(sch)) { | 1017 | if (IS_ERR(sch)) { |
| 1019 | console_cdev_in_use = 0; | 1018 | console_cdev_in_use = 0; |
