2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-18 15:44:02 +08:00

net: add some KERN_CONT markers to continuation lines

Cc: netdev@vger.kernel.org
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Uwe Kleine-König 2010-11-23 22:57:47 +00:00 committed by David S. Miller
parent 5a6f95e653
commit a40c9f88b5
2 changed files with 18 additions and 18 deletions

View File

@ -47,11 +47,11 @@ void phy_print_status(struct phy_device *phydev)
pr_info("PHY: %s - Link is %s", dev_name(&phydev->dev), pr_info("PHY: %s - Link is %s", dev_name(&phydev->dev),
phydev->link ? "Up" : "Down"); phydev->link ? "Up" : "Down");
if (phydev->link) if (phydev->link)
printk(" - %d/%s", phydev->speed, printk(KERN_CONT " - %d/%s", phydev->speed,
DUPLEX_FULL == phydev->duplex ? DUPLEX_FULL == phydev->duplex ?
"Full" : "Half"); "Full" : "Half");
printk("\n"); printk(KERN_CONT "\n");
} }
EXPORT_SYMBOL(phy_print_status); EXPORT_SYMBOL(phy_print_status);

View File

@ -1191,13 +1191,13 @@ static int __init ic_dynamic(void)
(ic_proto_enabled & IC_USE_DHCP) && (ic_proto_enabled & IC_USE_DHCP) &&
ic_dhcp_msgtype != DHCPACK) { ic_dhcp_msgtype != DHCPACK) {
ic_got_reply = 0; ic_got_reply = 0;
printk(","); printk(KERN_CONT ",");
continue; continue;
} }
#endif /* IPCONFIG_DHCP */ #endif /* IPCONFIG_DHCP */
if (ic_got_reply) { if (ic_got_reply) {
printk(" OK\n"); printk(KERN_CONT " OK\n");
break; break;
} }
@ -1205,7 +1205,7 @@ static int __init ic_dynamic(void)
continue; continue;
if (! --retries) { if (! --retries) {
printk(" timed out!\n"); printk(KERN_CONT " timed out!\n");
break; break;
} }
@ -1215,7 +1215,7 @@ static int __init ic_dynamic(void)
if (timeout > CONF_TIMEOUT_MAX) if (timeout > CONF_TIMEOUT_MAX)
timeout = CONF_TIMEOUT_MAX; timeout = CONF_TIMEOUT_MAX;
printk("."); printk(KERN_CONT ".");
} }
#ifdef IPCONFIG_BOOTP #ifdef IPCONFIG_BOOTP
@ -1236,7 +1236,7 @@ static int __init ic_dynamic(void)
((ic_got_reply & IC_RARP) ? "RARP" ((ic_got_reply & IC_RARP) ? "RARP"
: (ic_proto_enabled & IC_USE_DHCP) ? "DHCP" : "BOOTP"), : (ic_proto_enabled & IC_USE_DHCP) ? "DHCP" : "BOOTP"),
&ic_servaddr); &ic_servaddr);
printk("my address is %pI4\n", &ic_myaddr); printk(KERN_CONT "my address is %pI4\n", &ic_myaddr);
return 0; return 0;
} }
@ -1468,19 +1468,19 @@ static int __init ip_auto_config(void)
/* /*
* Clue in the operator. * Clue in the operator.
*/ */
printk("IP-Config: Complete:"); printk("IP-Config: Complete:\n");
printk("\n device=%s", ic_dev->name); printk(" device=%s", ic_dev->name);
printk(", addr=%pI4", &ic_myaddr); printk(KERN_CONT ", addr=%pI4", &ic_myaddr);
printk(", mask=%pI4", &ic_netmask); printk(KERN_CONT ", mask=%pI4", &ic_netmask);
printk(", gw=%pI4", &ic_gateway); printk(KERN_CONT ", gw=%pI4", &ic_gateway);
printk(",\n host=%s, domain=%s, nis-domain=%s", printk(KERN_CONT ",\n host=%s, domain=%s, nis-domain=%s",
utsname()->nodename, ic_domain, utsname()->domainname); utsname()->nodename, ic_domain, utsname()->domainname);
printk(",\n bootserver=%pI4", &ic_servaddr); printk(KERN_CONT ",\n bootserver=%pI4", &ic_servaddr);
printk(", rootserver=%pI4", &root_server_addr); printk(KERN_CONT ", rootserver=%pI4", &root_server_addr);
printk(", rootpath=%s", root_server_path); printk(KERN_CONT ", rootpath=%s", root_server_path);
if (ic_dev_mtu) if (ic_dev_mtu)
printk(", mtu=%d", ic_dev_mtu); printk(KERN_CONT ", mtu=%d", ic_dev_mtu);
printk("\n"); printk(KERN_CONT "\n");
#endif /* !SILENT */ #endif /* !SILENT */
return 0; return 0;