Re: [PATCH] net: dsa: fixup fail to get tag in mtk_get_tag_protocol

2017-07-24 Thread Florian Fainelli
On 07/24/2017 08:14 AM, sean.w...@mediatek.com wrote: > From: Sean Wang > > dsa_is_cpu_port() checking ds->cpu_port_mask is not available in > ds->ops->get_tag_protocol > > Since commit 14be36c2c96c ("net: dsa: Initialize all CPU and enabled > ports masks in

[PATCH] net: dsa: fixup fail to get tag in mtk_get_tag_protocol

2017-07-24 Thread sean.wang
From: Sean Wang dsa_is_cpu_port() checking ds->cpu_port_mask is not available in ds->ops->get_tag_protocol Since commit 14be36c2c96c ("net: dsa: Initialize all CPU and enabled ports masks in dsa_ds_parse()") So force returning DSA_TAG_PROTO_MTK inside