projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f081d4
)
mac8390: Fix build breakage
author
Geert Uytterhoeven
<
[email protected]
>
Sun, 10 Jan 2010 07:00:32 +0000
(23:00 -0800)
committer
David S. Miller
<
[email protected]
>
Sun, 10 Jan 2010 07:00:32 +0000
(23:00 -0800)
commit
18c0019102228875cb0f6f252dad5148491e96b2
("drivers/net/mac8390.c:
Convert printk(KERN_<level> to pr_<level>(") broke the build:
| drivers/net/mac8390.c:306: error: expected ')' before 'version'
as "version" is not a string literal, but a variable.
Signed-off-by: Geert Uytterhoeven <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/mac8390.c
patch
|
blob
|
history
diff --git
a/drivers/net/mac8390.c
b/drivers/net/mac8390.c
index c70bd6888c8944fb0f99793a30493f4b2f74d326..a8768672dc5aece9741081e3cde63835b5d80c01 100644
(file)
--- a/
drivers/net/mac8390.c
+++ b/
drivers/net/mac8390.c
@@
-303,7
+303,7
@@
static bool __init mac8390_init(struct net_device *dev, struct nubus_dev *ndev,
int offset;
volatile unsigned short *i;
- printk_once(KERN_INFO pr_fmt(
version)
);
+ printk_once(KERN_INFO pr_fmt(
"%s"), version
);
dev->irq = SLOT2IRQ(ndev->board->slot);
/* This is getting to be a habit */