net: dsa: better error reporting
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 3 Oct 2015 17:09:07 +0000 (18:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2015 09:58:49 +0000 (02:58 -0700)
commitd25b8e74291fec2dbf3fe3df7f20289eeaa9d28f
treec20a5e5778954ba7cbe12ae2dc24c5fea3f10806
parent4bac50bace0377138fed2ac3627c1ad470ea1eca
net: dsa: better error reporting

Add additional error reporting to the generic DSA code, so it's easier
to debug when things go wrong.  This was useful when initially bringing
up 88e6176 on a new board.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa.c
net/dsa/slave.c