From: George Kennedy Date: Wed, 8 Feb 2017 01:37:37 +0000 (-0500) Subject: SPARC64: LDOM vnet "Got unexpected MCAST reply" X-Git-Tag: v4.1.12-98.0.20170517_2143~37^2~5 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=24cb1be11b07f04df0c6373aae4e84603d03a326;p=users%2Fjedix%2Flinux-maple.git 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 --- diff --git a/drivers/net/ethernet/sun/sunvnet_common.c b/drivers/net/ethernet/sun/sunvnet_common.c index 260ddb9b2ed9c..6967e6065cbed 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; }