From: Veaceslav Falico Date: Thu, 17 Jul 2014 17:46:10 +0000 (+0200) Subject: net: print net_device reg_state in netdev_* unless it's registered X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~125^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccc7f4968a18b980994e622006b84e0195754390;p=pandora-kernel.git net: print net_device reg_state in netdev_* unless it's registered This way we'll always know in what status the device is, unless it's running normally (i.e. NETDEV_REGISTERED). Also, emit a warning once in case of a bad reg_state. CC: "David S. Miller" CC: Jason Baron CC: Eric Dumazet CC: Vlad Yasevich CC: stephen hemminger CC: Jerry Chu CC: Ben Hutchings CC: Joe Perches Signed-off-by: Veaceslav Falico Signed-off-by: David S. Miller --- Reading git-diff-tree failed