commit | ab96b241fd82ec8d546684ab6e29b6530976780a | [log] [tgz] |
---|---|---|
author | Matt Carlson <mcarlson@broadcom.com> | Mon Apr 05 10:19:22 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 06 03:58:00 2010 -0700 |
tree | 29083d52cf9e6a725e36614e0c39f32657630012 | |
parent | 2445e461ce8c5a2316ed4c8a45cd2d0b6a366310 [diff] |
tg3: netdev_err() => dev_err() Some uses of netdev_err() happen before the device has been registered. This will cause the messages to be prepended with "(unregistered net_device)" strings. We can clean up the message by using dev_err() instead. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Reviewed-by: Benjamin Li <benli@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>