]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bgmac: fix indexing of 2nd level loops
authorRafał Miłecki <zajec5@gmail.com>
Mon, 25 Feb 2013 08:22:26 +0000 (08:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2013 20:47:41 +0000 (15:47 -0500)
commit70a737b795d1d2fa0c1b54b8b7870c86cedd03ac
tree12cd5ccb6317cf8e328c184c2328eedf91eb1832
parent63a02ce1c5c59baa40b99756492e3ec8d6b51483
bgmac: fix indexing of 2nd level loops

We were using the same variable for iterating two nested loops.

Reported-by: Tijs Van Buggenhout <tvb@able.be>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c