]> git.baikalelectronics.ru Git - kernel.git/commit
vmxnet3: fix messages printed before registration
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 15 Jan 2013 07:28:28 +0000 (07:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jan 2013 19:40:49 +0000 (14:40 -0500)
commitb2749eab2474cf1de51dd7338cfc7d32888f76a8
treedf8ca932c144687bafac56216256da321f0744fc
parent73c343e60ebea873ef0d9c77782d49c32a406e7e
vmxnet3: fix messages printed before registration

This messages that occur during boot time from this device
when netdev_err is called before calling register_netdevice().
Switch to using dev_XXX macros which correlate message with PCI info which
is available.

Rather than fixing the features message, just remove it since
the information is redundant and available through ethtool.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vmxnet3/vmxnet3_drv.c