diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-06-08 09:00:20 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-13 00:23:45 +0200 |
commit | d49aba84fe775671133295658f43f4d142a517f9 (patch) | |
tree | 367f731720046001de6bb6f20ea4376303dcfb27 /drivers/dio | |
parent | Merge branch 'wimax-2.6.35.y' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
download | linux-d49aba84fe775671133295658f43f4d142a517f9.tar.xz linux-d49aba84fe775671133295658f43f4d142a517f9.zip |
enic: fix pci_alloc_consistent argument
Fix build warning on i386 (32-bit) with 32-bit dma_addr_t:
drivers/net/enic/vnic_dev.c: In function 'vnic_dev_init_prov':
drivers/net/enic/vnic_dev.c:716: warning: passing argument 3 of 'pci_alloc_consistent' from incompatible pointer type
include/asm-generic/pci-dma-compat.h:16: note: expected 'dma_addr_t *' but argument is of type 'u64 *'
Now builds without warnings on i386 and on x86_64.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Scott Feldman <scofeldm@cisco.com>
Cc: Vasanthy Kolluri <vkolluri@cisco.com>
Cc: Roopa Prabhu <roprabhu@cisco.com>
Acked-by: Scott Feldman <scofeldm@cisco.com>
Diffstat (limited to 'drivers/dio')
0 files changed, 0 insertions, 0 deletions