From: Florian Fainelli Date: Mon, 21 Jan 2013 09:58:51 +0000 (+0000) Subject: dsa: make dsa_switch_setup check for valid port names X-Git-Tag: v3.9-rc1~139^2~302^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9bf5a2ca6cc331f32e3dd9cf16ced7215d0e6e8;p=pandora-kernel.git dsa: make dsa_switch_setup check for valid port names This patch changes dsa_switch_setup() to ensure that at least one valid valid port name is specified and will bail out with an error in case we walked the maximum number of port with a valid port name found. Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed