netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* enic build warnings
@ 2010-11-12 20:40 David Miller
  0 siblings, 0 replies; only message in thread
From: David Miller @ 2010-11-12 20:40 UTC (permalink / raw)
  To: vkolluri; +Cc: roprabhu, dwang2, netdev


Please fix these warnings, you cannot pass the address of
a "u64" object where a "dma_addr_t" is expected:

drivers/net/enic/enic_main.c: In function 'enic_set_rsskey':
drivers/net/enic/enic_main.c:2056:16: warning: passing argument 3 of 'pci_alloc_consistent' from incompatible pointer type
include/asm-generic/pci-dma-compat.h:16:1: note: expected 'dma_addr_t *' but argument is of type 'u64 *'
drivers/net/enic/enic_main.c: In function 'enic_set_rsscpu':
drivers/net/enic/enic_main.c:2082:16: warning: passing argument 3 of 'pci_alloc_consistent' from incompatible pointer type
include/asm-generic/pci-dma-compat.h:16:1: note: expected 'dma_addr_t *' but argument is of type 'u64 *'

Thanks.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-12 20:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-12 20:40 enic build warnings David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).