From: Geert Uytterhoeven Date: Sun, 10 Jan 2010 07:00:32 +0000 (-0800) Subject: mac8390: Fix build breakage X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=51f5300682f5925a11edfddfd47ed47376871974;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git mac8390: Fix build breakage commit 18c0019102228875cb0f6f252dad5148491e96b2 ("drivers/net/mac8390.c: Convert printk(KERN_ to pr_(") 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/mac8390.c b/drivers/net/mac8390.c index c70bd6888c89..a8768672dc5a 100644 --- 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 */