Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98997
b: refs/heads/master
c: c2b4afd
h: refs/heads/master
i:
  98995: 699ac43
v: v3
  • Loading branch information
Ursula Braun authored and Heiko Carstens committed Jul 14, 2008
1 parent 8019ddc commit 93338b9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 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: a12c53f4fa759b59654b6d5f21eb4070cd45cd54
refs/heads/master: c2b4afd2f99a187ec3bbd6e2def186fbfb755929
8 changes: 2 additions & 6 deletions trunk/net/iucv/af_iucv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1135,8 +1135,7 @@ static void iucv_callback_txdone(struct iucv_path *path,
if (this)
kfree_skb(this);
}
if (!this)
printk(KERN_ERR "AF_IUCV msg tag %u not found\n", msg->tag);
BUG_ON(!this);

if (sk->sk_state == IUCV_CLOSING) {
if (skb_queue_empty(&iucv_sk(sk)->send_skb_q)) {
Expand Down Expand Up @@ -1196,7 +1195,7 @@ static int __init afiucv_init(void)
}
cpcmd("QUERY USERID", iucv_userid, sizeof(iucv_userid), &err);
if (unlikely(err)) {
printk(KERN_ERR "AF_IUCV needs the VM userid\n");
WARN_ON(err);
err = -EPROTONOSUPPORT;
goto out;
}
Expand All @@ -1210,7 +1209,6 @@ static int __init afiucv_init(void)
err = sock_register(&iucv_sock_family_ops);
if (err)
goto out_proto;
printk(KERN_INFO "AF_IUCV lowlevel driver initialized\n");
return 0;

out_proto:
Expand All @@ -1226,8 +1224,6 @@ static void __exit afiucv_exit(void)
sock_unregister(PF_IUCV);
proto_unregister(&iucv_proto);
iucv_unregister(&af_iucv_handler, 0);

printk(KERN_INFO "AF_IUCV lowlevel driver unloaded\n");
}

module_init(afiucv_init);
Expand Down
9 changes: 2 additions & 7 deletions trunk/net/iucv/iucv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1559,16 +1559,11 @@ static void iucv_external_interrupt(u16 code)

p = iucv_irq_data[smp_processor_id()];
if (p->ippathid >= iucv_max_pathid) {
printk(KERN_WARNING "iucv_do_int: Got interrupt with "
"pathid %d > max_connections (%ld)\n",
p->ippathid, iucv_max_pathid - 1);
WARN_ON(p->ippathid >= iucv_max_pathid);
iucv_sever_pathid(p->ippathid, iucv_error_no_listener);
return;
}
if (p->iptype < 0x01 || p->iptype > 0x09) {
printk(KERN_ERR "iucv_do_int: unknown iucv interrupt\n");
return;
}
BUG_ON(p->iptype < 0x01 || p->iptype > 0x09);
work = kmalloc(sizeof(struct iucv_irq_list), GFP_ATOMIC);
if (!work) {
printk(KERN_WARNING "iucv_external_interrupt: out of memory\n");
Expand Down

0 comments on commit 93338b9

Please sign in to comment.