diff options
Diffstat (limited to 'arch/s390/hypfs/hypfs_diag.c')
| -rw-r--r-- | arch/s390/hypfs/hypfs_diag.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/s390/hypfs/hypfs_diag.c b/arch/s390/hypfs/hypfs_diag.c index b9a1ce1f28e4..b1e892a43816 100644 --- a/arch/s390/hypfs/hypfs_diag.c +++ b/arch/s390/hypfs/hypfs_diag.c | |||
| @@ -3,10 +3,13 @@ | |||
| 3 | * Hypervisor filesystem for Linux on s390. Diag 204 and 224 | 3 | * Hypervisor filesystem for Linux on s390. Diag 204 and 224 |
| 4 | * implementation. | 4 | * implementation. |
| 5 | * | 5 | * |
| 6 | * Copyright (C) IBM Corp. 2006 | 6 | * Copyright IBM Corp. 2006, 2008 |
| 7 | * Author(s): Michael Holzheu <holzheu@de.ibm.com> | 7 | * Author(s): Michael Holzheu <holzheu@de.ibm.com> |
| 8 | */ | 8 | */ |
| 9 | 9 | ||
| 10 | #define KMSG_COMPONENT "hypfs" | ||
| 11 | #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt | ||
| 12 | |||
| 10 | #include <linux/types.h> | 13 | #include <linux/types.h> |
| 11 | #include <linux/errno.h> | 14 | #include <linux/errno.h> |
| 12 | #include <linux/string.h> | 15 | #include <linux/string.h> |
| @@ -527,13 +530,14 @@ __init int hypfs_diag_init(void) | |||
| 527 | int rc; | 530 | int rc; |
| 528 | 531 | ||
| 529 | if (diag204_probe()) { | 532 | if (diag204_probe()) { |
| 530 | printk(KERN_ERR "hypfs: diag 204 not working."); | 533 | pr_err("The hardware system does not support hypfs\n"); |
| 531 | return -ENODATA; | 534 | return -ENODATA; |
| 532 | } | 535 | } |
| 533 | rc = diag224_get_name_table(); | 536 | rc = diag224_get_name_table(); |
| 534 | if (rc) { | 537 | if (rc) { |
| 535 | diag204_free_buffer(); | 538 | diag204_free_buffer(); |
| 536 | printk(KERN_ERR "hypfs: could not get name table.\n"); | 539 | pr_err("The hardware system does not provide all " |
| 540 | "functions required by hypfs\n"); | ||
| 537 | } | 541 | } |
| 538 | return rc; | 542 | return rc; |
| 539 | } | 543 | } |
