From 24cb1be11b07f04df0c6373aae4e84603d03a326 Mon Sep 17 00:00:00 2001 From: George Kennedy Date: Tue, 7 Feb 2017 20:37:37 -0500 Subject: [PATCH] SPARC64: LDOM vnet "Got unexpected MCAST reply" Handle unexpected MCAST reply as a debug warning the same as is done in Solaris 12. Please see bug 24954702 for details. Signed-off-by: George Kennedy Reviewed-by: Liam Merwick Orabug: 24954702 Signed-off-by: Allen Pais --- drivers/net/ethernet/sun/sunvnet_common.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/sun/sunvnet_common.c b/drivers/net/ethernet/sun/sunvnet_common.c index 260ddb9b2ed9..6967e6065cbe 100644 --- a/drivers/net/ethernet/sun/sunvnet_common.c +++ b/drivers/net/ethernet/sun/sunvnet_common.c @@ -699,13 +699,17 @@ static int handle_mcast(struct vnet_port *port, void *msgbuf) struct vio_net_mcast_info *pkt = msgbuf; struct net_device *dev = VNET_PORT_TO_NET_DEVICE(port); - if (pkt->tag.stype != VIO_SUBTYPE_ACK) - pr_err("%s: Got unexpected MCAST reply [%02x:%02x:%04x:%08x]\n", + if (pkt->tag.stype != VIO_SUBTYPE_ACK) { + struct vio_driver_state *vio = &port->vio; + + viodbg(HS, + "%s: Got unexpected MCAST reply [%02x:%02x:%04x:%08x]\n", dev->name, pkt->tag.type, pkt->tag.stype, pkt->tag.stype_env, pkt->tag.sid); + } return 0; } -- 2.50.1