diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-10-16 17:54:34 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-16 17:54:34 -0700 |
commit | f6965582ac9b87d875aac8e23afdb03fe35ee33d (patch) | |
tree | 8be3c439420a61e9c575c306161e721ac5f332e0 /samples/tracepoints | |
parent | ed79bab847d8e5a2986d8ff43c49c6fb8ee3265f (diff) |
vmxnet3: use dev_dbg, fix build for CONFIG_BLOCK=n
vmxnet3 was using dprintk() for debugging output. This was
defined in <linux/dst.h> and was the only thing that was
used from that header file. This caused compile errors
when CONFIG_BLOCK was not enabled due to bio* and BIO*
uses in the header file, so change this driver to use
dev_dbg() for debugging output.
include/linux/dst.h:520: error: dereferencing pointer to incomplete type
include/linux/dst.h:520: error: 'BIO_POOL_BITS' undeclared (first use in this function)
include/linux/dst.h:521: error: dereferencing pointer to incomplete type
include/linux/dst.h:522: error: dereferencing pointer to incomplete type
include/linux/dst.h:525: error: dereferencing pointer to incomplete type
make[4]: *** [drivers/net/vmxnet3/vmxnet3_drv.o] Error 1
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Bhavesh Davda <bhavesh@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/tracepoints')
0 files changed, 0 insertions, 0 deletions