]> git.baikalelectronics.ru Git - kernel.git/commit
declance: Fix continuation with the adapter identification message
authorMaciej W. Rozycki <macro@linux-mips.org>
Tue, 2 Oct 2018 13:23:45 +0000 (14:23 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Oct 2018 18:31:54 +0000 (11:31 -0700)
commitae011a45e45047f925158ddf6985747933ede3e6
treed5f7e5231f2a98d1f484bce833ca50e3ce1f9300
parent9beb71b2a64670f4fe643dc6e41d25fc2486a627
declance: Fix continuation with the adapter identification message

Fix a commit 3c758df09457 ("printk: reinstate KERN_CONT for printing
continuation lines") regression with the `declance' driver, which caused
the adapter identification message to be split between two lines, e.g.:

declance.c: v0.011 by Linux MIPS DECstation task force
tc6: PMAD-AA
, addr = 08:00:2b:1b:2a:6a, irq = 14
tc6: registered as eth0.

Address that properly, by printing identification with a single call,
making the messages now look like:

declance.c: v0.011 by Linux MIPS DECstation task force
tc6: PMAD-AA, addr = 08:00:2b:1b:2a:6a, irq = 14
tc6: registered as eth0.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Fixes: 3c758df09457 ("printk: reinstate KERN_CONT for printing continuation lines")
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/declance.c