linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: linux-kernel@vger.kernel.org, torvalds@osdl.org
Subject: PATCH: some isdn invalid/illegal fixups
Date: Sun, 27 Jul 2003 21:04:34 +0100	[thread overview]
Message-ID: <200307272004.h6RK4YBv029617@hraefn.swansea.linux.org.uk> (raw)

(Steven Cole)
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.6.0-test2/drivers/isdn/capi/capidrv.c linux-2.6.0-test2-ac1/drivers/isdn/capi/capidrv.c
--- linux-2.6.0-test2/drivers/isdn/capi/capidrv.c	2003-07-10 21:08:51.000000000 +0100
+++ linux-2.6.0-test2-ac1/drivers/isdn/capi/capidrv.c	2003-07-15 18:01:29.000000000 +0100
@@ -1596,7 +1596,7 @@
                         rc = FVteln2capi20(bchan->num, AdditionalInfo);
 			isleasedline = (rc == 0);
 			if (rc < 0)
-				printk(KERN_ERR "capidrv-%d: WARNING: illegal leased linedefinition \"%s\"\n", card->contrnr, bchan->num);
+				printk(KERN_ERR "capidrv-%d: WARNING: invalid leased linedefinition \"%s\"\n", card->contrnr, bchan->num);
 
 			if (isleasedline) {
 				calling[0] = 0;
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.6.0-test2/drivers/isdn/eicon/eicon_isa.c linux-2.6.0-test2-ac1/drivers/isdn/eicon/eicon_isa.c
--- linux-2.6.0-test2/drivers/isdn/eicon/eicon_isa.c	2003-07-10 21:05:28.000000000 +0100
+++ linux-2.6.0-test2-ac1/drivers/isdn/eicon/eicon_isa.c	2003-07-15 18:01:29.000000000 +0100
@@ -90,7 +90,7 @@
 	if ((Mem < 0x0c0000) ||
 	    (Mem > 0x0fc000) ||
 	    (Mem & 0xfff)) { 
-		printk(KERN_WARNING "eicon_isa: illegal membase 0x%x for %s\n",
+		printk(KERN_WARNING "eicon_isa: invalid membase 0x%x for %s\n",
 			 Mem, Id);
 		return -1;
 	}
@@ -326,7 +326,7 @@
 		/* Check for valid IRQ */
 		if ((card->irq < 0) || (card->irq > 15) || 
 		    (!((1 << card->irq) & eicon_isa_valid_irq[card->type & 0x0f]))) {
-			printk(KERN_WARNING "eicon_isa_load: illegal irq: %d\n", card->irq);
+			printk(KERN_WARNING "eicon_isa_load: invalid irq: %d\n", card->irq);
 			eicon_isa_release_shmem(card);
 			kfree(code);
 			return -EINVAL;
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.6.0-test2/drivers/isdn/hardware/avm/b1isa.c linux-2.6.0-test2-ac1/drivers/isdn/hardware/avm/b1isa.c
--- linux-2.6.0-test2/drivers/isdn/hardware/avm/b1isa.c	2003-07-10 21:08:52.000000000 +0100
+++ linux-2.6.0-test2-ac1/drivers/isdn/hardware/avm/b1isa.c	2003-07-15 18:01:29.000000000 +0100
@@ -78,7 +78,7 @@
 
 	if (   card->port != 0x150 && card->port != 0x250
 	    && card->port != 0x300 && card->port != 0x340) {
-		printk(KERN_WARNING "b1isa: illegal port 0x%x.\n", card->port);
+		printk(KERN_WARNING "b1isa: invalid port 0x%x.\n", card->port);
 		retval = -EINVAL;
 		goto err_free;
 	}
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.6.0-test2/drivers/isdn/hardware/avm/t1isa.c linux-2.6.0-test2-ac1/drivers/isdn/hardware/avm/t1isa.c
--- linux-2.6.0-test2/drivers/isdn/hardware/avm/t1isa.c	2003-07-10 21:11:00.000000000 +0100
+++ linux-2.6.0-test2-ac1/drivers/isdn/hardware/avm/t1isa.c	2003-07-15 18:01:29.000000000 +0100
@@ -370,7 +370,7 @@
 	sprintf(card->name, "t1isa-%x", card->port);
 
 	if (!(((card->port & 0x7) == 0) && ((card->port & 0x30) != 0x30))) {
-		printk(KERN_WARNING "t1isa: illegal port 0x%x.\n", card->port);
+		printk(KERN_WARNING "t1isa: invalid port 0x%x.\n", card->port);
 		retval = -EINVAL;
 		goto err_free;
         }
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.6.0-test2/drivers/isdn/hardware/eicon/message.c linux-2.6.0-test2-ac1/drivers/isdn/hardware/eicon/message.c
--- linux-2.6.0-test2/drivers/isdn/hardware/eicon/message.c	2003-07-10 21:11:35.000000000 +0100
+++ linux-2.6.0-test2-ac1/drivers/isdn/hardware/eicon/message.c	2003-07-15 18:01:29.000000000 +0100
@@ -4487,7 +4487,7 @@
           if(rc==WRONG_IE)
           {
             Info = 0x2007; /* Illegal message parameter coding */
-            dbug(1,dprintf("MWI_REQ illegal parameter"));
+            dbug(1,dprintf("MWI_REQ invalid parameter"));
           }
           else
           {

                 reply	other threads:[~2003-07-27 23:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200307272004.h6RK4YBv029617@hraefn.swansea.linux.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).