[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20101112.124031.245404157.davem@davemloft.net>
Date: Fri, 12 Nov 2010 12:40:31 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: vkolluri@...co.com
CC: roprabhu@...co.com, dwang2@...co.com, netdev@...r.kernel.org
Subject: enic build warnings
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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists