diff options
Diffstat (limited to 'drivers/s390/crypto')
-rw-r--r-- | drivers/s390/crypto/ap_bus.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/s390/crypto/ap_bus.c b/drivers/s390/crypto/ap_bus.c index a6aee68d2909..1f5f5d2d87d9 100644 --- a/drivers/s390/crypto/ap_bus.c +++ b/drivers/s390/crypto/ap_bus.c | |||
@@ -24,6 +24,9 @@ | |||
24 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 24 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
25 | */ | 25 | */ |
26 | 26 | ||
27 | #define KMSG_COMPONENT "ap" | ||
28 | #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt | ||
29 | |||
27 | #include <linux/module.h> | 30 | #include <linux/module.h> |
28 | #include <linux/init.h> | 31 | #include <linux/init.h> |
29 | #include <linux/delay.h> | 32 | #include <linux/delay.h> |
@@ -1487,12 +1490,13 @@ int __init ap_module_init(void) | |||
1487 | int rc, i; | 1490 | int rc, i; |
1488 | 1491 | ||
1489 | if (ap_domain_index < -1 || ap_domain_index >= AP_DOMAINS) { | 1492 | if (ap_domain_index < -1 || ap_domain_index >= AP_DOMAINS) { |
1490 | printk(KERN_WARNING "Invalid param: domain = %d. " | 1493 | pr_warning("%d is not a valid cryptographic domain\n", |
1491 | " Not loading.\n", ap_domain_index); | 1494 | ap_domain_index); |
1492 | return -EINVAL; | 1495 | return -EINVAL; |
1493 | } | 1496 | } |
1494 | if (ap_instructions_available() != 0) { | 1497 | if (ap_instructions_available() != 0) { |
1495 | printk(KERN_WARNING "AP instructions not installed.\n"); | 1498 | pr_warning("The hardware system does not support " |
1499 | "AP instructions\n"); | ||
1496 | return -ENODEV; | 1500 | return -ENODEV; |
1497 | } | 1501 | } |
1498 | if (ap_interrupts_available()) { | 1502 | if (ap_interrupts_available()) { |