Commit 021896b1 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] second block illegal/invalid fixups for isdn

(Steven Cole)
parent b3ce6592
......@@ -591,7 +591,7 @@ hycapi_rx_capipkt(hysdn_card * card, uchar * buf, word len)
" current state\n", card->myid);
break;
case 0x2002:
printk(KERN_ERR "HYSDN Card%d: illegal PLCI\n", card->myid);
printk(KERN_ERR "HYSDN Card%d: invalid PLCI\n", card->myid);
break;
case 0x2004:
printk(KERN_ERR "HYSDN Card%d: out of NCCI\n", card->myid);
......
......@@ -715,7 +715,7 @@ isdn_ppp_bind(isdn_net_dev *idev)
found:
unit = isdn_ppp_if_get_unit(idev->name); /* get unit number from interface name .. ugly! */
if (unit < 0) {
printk(KERN_INFO "isdn_ppp_bind: illegal interface name %s.\n", idev->name);
printk(KERN_INFO "isdn_ppp_bind: invalid interface name %s.\n", idev->name);
retval = -ENODEV;
goto err;
}
......
......@@ -63,7 +63,7 @@ static struct concap_proto_ops ix25_pops = {
/* error message helper function */
static void illegal_state_warn( unsigned state, unsigned char firstbyte)
{
printk( KERN_WARNING "isdn_x25iface: firstbyte %x illegal in"
printk( KERN_WARNING "isdn_x25iface: firstbyte %x invalid in"
"current state %d\n",firstbyte, state );
}
......@@ -72,7 +72,7 @@ static int pdata_is_bad( ix25_pdata_t * pda ){
if( pda && pda -> magic == ISDN_X25IFACE_MAGIC ) return 0;
printk( KERN_WARNING
"isdn_x25iface_xxx: illegal pointer to proto data\n" );
"isdn_x25iface_xxx: invalid pointer to proto data\n" );
return 1;
}
......@@ -334,7 +334,7 @@ int isdn_x25iface_xmit(struct concap_proto *cprot, struct sk_buff *skb)
" options not yet supported\n");
break;
default:
printk(KERN_WARNING "isdn_x25iface_xmit: frame with illegal"
printk(KERN_WARNING "isdn_x25iface_xmit: frame with invalid"
" first byte %x ignored:\n", firstbyte);
}
dev_kfree_skb(skb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment