From: Rob Herring Date: Mon, 30 Sep 2013 20:12:15 +0000 (-0500) Subject: net: calxedaxgmac: fix clearing of old filter addresses X-Git-Tag: v3.12-rc7~20^2~81^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c1c58ec70ce45cd5c7866811e90df131e7a3005;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed