myri10ge: fix potential infinite loop in enable_ecrc
authorBrice Goglin <brice@myri.com>
Fri, 9 May 2008 00:19:29 +0000 (02:19 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 13 May 2008 05:30:29 +0000 (01:30 -0400)
commiteca3fd83436853483837f010d9c3fefafa46a15c
treec75d964144f366486ade050f643ec0980203b25f
parent99f5f87eb689c5766fa2c101fe75310a7f9ba3cd
myri10ge: fix potential infinite loop in enable_ecrc

Fix another potential for an infinite loop while looking for the
root port in myri10ge_enable_ecrc().

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Andrew Gallatin <gallatin@myri.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/myri10ge/myri10ge.c