Patchwork claw: fix compile bug.

login
register
mail settings
Submitter Heiko Carstens
Date Oct. 13, 2008, 8:23 a.m.
Message ID <20081013082322.GA17793@osiris.boeblingen.de.ibm.com>
Download mbox | patch
Permalink /patch/4138/
State Accepted
Delegated to: David Miller
Headers show

Comments

Heiko Carstens - Oct. 13, 2008, 8:23 a.m.
From: Heiko Carstens <heiko.carstens@de.ibm.com>

git commit b9d3aed7e1e50183085fcd2af643bf42d6b4bd95
"[S390] more bus_id -> dev_name conversions" introduced this compile bug:

  CC      drivers/s390/net/claw.o
drivers/s390/net/claw.c: In function 'claw_new_device':
drivers/s390/net/claw.c:2917: error: expected ')' before 'ret'
drivers/s390/net/claw.c:2917: warning: too few arguments for format
make[2]: *** [drivers/s390/net/claw.o] Error 1
make[1]: *** [drivers/s390/net] Error 2

Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
---
 drivers/s390/net/claw.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
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

Index: linux-2.6/drivers/s390/net/claw.c
===================================================================
--- linux-2.6.orig/drivers/s390/net/claw.c
+++ linux-2.6/drivers/s390/net/claw.c
@@ -2913,7 +2913,7 @@  claw_new_device(struct ccwgroup_device *
 	if (ret != 0) {
 		printk(KERN_WARNING
 			"claw: ccw_device_set_online %s WRITE failed "
-		       "with ret = %d\n", dev_name(&cgdev->cdev[WRITE]->dev)
+		       "with ret = %d\n", dev_name(&cgdev->cdev[WRITE]->dev),
 		       ret);
 		goto out;
 	}