]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: fix a bug for cycle index
authorQianqian Xie <xieqianqian@huawei.com>
Thu, 24 Mar 2016 11:08:00 +0000 (19:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Mar 2016 18:33:06 +0000 (14:33 -0400)
commit8bc856155377de0766d0a9463285ea22b760921d
tree9f34968aeb59a27378bc4960aee6fe0b8cdea0c2
parent131d0ea46306b8c1a70f40cee4a8b38769659c14
net: hns: fix a bug for cycle index

The cycle index should be varied while the variable j is a fixed value.
The patch will fix this bug.

Signed-off-by: Qianqian Xie <xieqianqian@huawei.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c