[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <89E2752CFA8EC044846EB8499819134101741BA4C0@EXCH-MBX-4.vmware.com>
Date: Thu, 15 Oct 2009 15:37:23 -0700
From: Shreyas Bhatewara <sbhatewara@...are.com>
To: Randy Dunlap <randy.dunlap@...cle.com>,
Stephen Rothwell <sfr@...b.auug.org.au>
CC: "linux-next@...r.kernel.org" <linux-next@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
netdev <netdev@...r.kernel.org>,
David Miller <davem@...emloft.net>,
"pv-drivers@...are.com" <pv-drivers@...are.com>
Subject: RE: [PATCH -next] vmxnet3: use dev_dbg, fix build for CONFIG_BLOCK=n
> -----Original Message-----
> From: Randy Dunlap [mailto:randy.dunlap@...cle.com]
> Sent: Thursday, October 15, 2009 3:30 PM
> To: Stephen Rothwell
> Cc: linux-next@...r.kernel.org; LKML; netdev; David Miller; Shreyas
> Bhatewara; pv-drivers@...are.com
> Subject: [PATCH -next] vmxnet3: use dev_dbg, fix build for
> CONFIG_BLOCK=n
>
> From: Randy Dunlap <randy.dunlap@...cle.com>
>
> 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@...cle.com>
Thanks for the changes Randy, appreciate it.
->Shreyas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists