Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135597
b: refs/heads/master
c: 82f3a79
h: refs/heads/master
i:
  135595: 127d064
v: v3
  • Loading branch information
Hendrik Brueckner authored and Martin Schwidefsky committed Mar 26, 2009
1 parent 38aac2c commit be765e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: 5168ce2c647f02756803bef7b74906f485491a1c
refs/heads/master: 82f3a79bc6b50ab82744ebc32efba31c78dbccf7
7 changes: 5 additions & 2 deletions trunk/drivers/char/hvc_iucv.c
Original file line number Diff line number Diff line change
Expand Up @@ -885,16 +885,19 @@ static int __init hvc_iucv_init(void)
unsigned int i;

if (!MACHINE_IS_VM) {
pr_info("The z/VM IUCV HVC device driver cannot "
pr_notice("The z/VM IUCV HVC device driver cannot "
"be used without z/VM\n");
return -ENODEV;
}

if (!hvc_iucv_devices)
return -ENODEV;

if (hvc_iucv_devices > MAX_HVC_IUCV_LINES)
if (hvc_iucv_devices > MAX_HVC_IUCV_LINES) {
pr_err("%lu is not a valid value for the hvc_iucv= "
"kernel parameter\n", hvc_iucv_devices);
return -EINVAL;
}

hvc_iucv_buffer_cache = kmem_cache_create(KMSG_COMPONENT,
sizeof(struct iucv_tty_buffer),
Expand Down

0 comments on commit be765e9

Please sign in to comment.