From: françois romieu Date: Wed, 17 Jun 2009 11:43:11 +0000 (+0000) Subject: sis190: use an adequate phy list entry as a fallback X-Git-Tag: v2.6.31-rc1~140^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2f3f3a2fe4e35db352cfe1176e384e36bfd91b1;p=pandora-kernel.git sis190: use an adequate phy list entry as a fallback When sis190 driver is trying to get default phy, if it doesn't find home or lan phy, it falls back to the first phy in the phy list but list_entry() points to a bogus entry. list_first_entry() should be used instead. Signed-off-by: Arnaud Patard Acked-off-by: Francois Romieu Signed-off-by: David S. Miller --- Reading git-diff-tree failed