Re: [PATCH net] net: hns: fix the bug about loopback

2016-03-03 Thread Yankejian (Hackim Yim)
On 2016/3/3 21:39, Andy Shevchenko wrote: > On Thu, 2016-03-03 at 20:02 +0800, Kejian Yan wrote: >> It will always be passed if the soc is tested the loopback cases. >> This >> patch will fix this bug. > Few style related comments. > >> @@ -686,6 +690,10 @@ static int

Re: [PATCH net] net: hns: fix the bug about loopback

2016-03-03 Thread Andy Shevchenko
On Thu, 2016-03-03 at 20:02 +0800, Kejian Yan wrote: > It will always be passed if the soc is tested the loopback cases. > This > patch will fix this bug. Few style related comments. > @@ -686,6 +690,10 @@ static int hns_ae_config_loopback(struct > hnae_handle *handle, >   default: >  

[PATCH net] net: hns: fix the bug about loopback

2016-03-03 Thread Kejian Yan
It will always be passed if the soc is tested the loopback cases. This patch will fix this bug. Signed-off-by: Kejian Yan --- drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 8 + drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 37