diff options
Diffstat (limited to 'drivers/s390/block/dasd_genhd.c')
-rw-r--r-- | drivers/s390/block/dasd_genhd.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/s390/block/dasd_genhd.c b/drivers/s390/block/dasd_genhd.c index e99d566b69cc..d3198303b93c 100644 --- a/drivers/s390/block/dasd_genhd.c +++ b/drivers/s390/block/dasd_genhd.c | |||
@@ -11,6 +11,8 @@ | |||
11 | * | 11 | * |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #define KMSG_COMPONENT "dasd" | ||
15 | |||
14 | #include <linux/interrupt.h> | 16 | #include <linux/interrupt.h> |
15 | #include <linux/fs.h> | 17 | #include <linux/fs.h> |
16 | #include <linux/blkpg.h> | 18 | #include <linux/blkpg.h> |
@@ -163,9 +165,8 @@ int dasd_gendisk_init(void) | |||
163 | /* Register to static dasd major 94 */ | 165 | /* Register to static dasd major 94 */ |
164 | rc = register_blkdev(DASD_MAJOR, "dasd"); | 166 | rc = register_blkdev(DASD_MAJOR, "dasd"); |
165 | if (rc != 0) { | 167 | if (rc != 0) { |
166 | MESSAGE(KERN_WARNING, | 168 | pr_warning("Registering the device driver with major number " |
167 | "Couldn't register successfully to " | 169 | "%d failed\n", DASD_MAJOR); |
168 | "major no %d", DASD_MAJOR); | ||
169 | return rc; | 170 | return rc; |
170 | } | 171 | } |
171 | return 0; | 172 | return 0; |