Patchwork [6/6] qeth: get rid of extra argument after printk to dev_* conversion

login
register
mail settings
Submitter frank.blaschka@de.ibm.com
Date Jan. 2, 2009, 3:01 p.m.
Message ID <20090102150256.663537000@de.ibm.com>
Download mbox | patch
Permalink /patch/16320/
State Accepted
Delegated to: David Miller
Headers show

Comments

frank.blaschka@de.ibm.com - Jan. 2, 2009, 3:01 p.m.
From: Heiko Carstens <heiko.carstens@de.ibm.com>

drivers/s390/net/qeth_l3_main.c: In function 'qeth_l3_setadapter_parms':
drivers/s390/net/qeth_l3_main.c:1049: warning: too many arguments for format

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
---
David Miller - Jan. 5, 2009, 1:37 a.m.
From: frank.blaschka@de.ibm.com
Date: Fri, 02 Jan 2009 16:01:45 +0100

> drivers/s390/net/qeth_l3_main.c: In function 'qeth_l3_setadapter_parms':
> drivers/s390/net/qeth_l3_main.c:1049: warning: too many arguments for format
> 
> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
> Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>

Also applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff -u -r1.42 -r1.43 linux-2.5/drivers/s390/net/qeth_l3_main.c
--- linux-2.5/drivers/s390/net/qeth_l3_main.c	3 Dec 2008 06:44:41 -0000	1.42
+++ linux-2.5/drivers/s390/net/qeth_l3_main.c	2 Jan 2009 11:24:02 -0000	1.43
@@ -1047,7 +1047,7 @@ 
 		rc = qeth_setadpparms_change_macaddr(card);
 		if (rc)
 			dev_warn(&card->gdev->dev, "Reading the adapter MAC"
-				" address failed\n", rc);
+				" address failed\n");
 	}

 	if ((card->info.link_type == QETH_LINK_TYPE_HSTR) ||