summaryrefslogtreecommitdiffstats
path: root/block/blk-lib.c
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2013-09-30 15:12:15 -0500
committerDavid S. Miller <davem@davemloft.net>2013-10-02 16:10:29 -0400
commit8c1c58ec70ce45cd5c7866811e90df131e7a3005 (patch)
tree5843f7c4b3337c130f575a4fcb851eea9e23dca3 /block/blk-lib.c
parent6865d1e834be84ddd5808d93d5035b492346c64a (diff)
downloadlinux-8c1c58ec70ce45cd5c7866811e90df131e7a3005.tar.bz2
net: calxedaxgmac: fix clearing of old filter addresses
In commit 2ee68f621af280 (net: calxedaxgmac: fix various errors in xgmac_set_rx_mode), a fix to clean-up old address entries was added. However, the loop to zero out the entries failed to increment the register address resulting in only 1 entry getting cleared. Fix this to correctly use the loop index. Also, the end of the loop condition was off by 1 and should have been <= rather than <. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/blk-lib.c')
0 files changed, 0 insertions, 0 deletions