From: Daniel Mack Date: Tue, 26 Feb 2013 04:06:20 +0000 (+0000) Subject: drivers: net: ethernet: cpsw: consider number of slaves in interation X-Git-Tag: v3.9-rc2~24^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0237c11044b3670adcbe80cd6dd721285347f497;p=pandora-kernel.git drivers: net: ethernet: cpsw: consider number of slaves in interation Make cpsw_add_default_vlan() look at the actual number of slaves for its iteration, so boards with less than 2 slaves don't ooops at boot. Signed-off-by: Daniel Mack Cc: Mugunthan V N Cc: David S. Miller Acked-by: Mugunthan V N Signed-off-by: David S. Miller --- Reading git-diff-tree failed