Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121428
b: refs/heads/master
c: 136f7a1
h: refs/heads/master
v: v3
  • Loading branch information
Martin Schwidefsky committed Dec 25, 2008
1 parent 5bce06b commit 941c713
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 93098bf01578763bb84b627fe893f219cc44b995
refs/heads/master: 136f7a1c4239be91e3e0f53532944b9aab7b58f8
10 changes: 7 additions & 3 deletions trunk/drivers/s390/crypto/ap_bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#define KMSG_COMPONENT "ap"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt

#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
Expand Down Expand Up @@ -1487,12 +1490,13 @@ int __init ap_module_init(void)
int rc, i;

if (ap_domain_index < -1 || ap_domain_index >= AP_DOMAINS) {
printk(KERN_WARNING "Invalid param: domain = %d. "
" Not loading.\n", ap_domain_index);
pr_warning("%d is not a valid cryptographic domain\n",
ap_domain_index);
return -EINVAL;
}
if (ap_instructions_available() != 0) {
printk(KERN_WARNING "AP instructions not installed.\n");
pr_warning("The hardware system does not support "
"AP instructions\n");
return -ENODEV;
}
if (ap_interrupts_available()) {
Expand Down

0 comments on commit 941c713

Please sign in to comment.