All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tioca: Fix assignment from incompatible pointer warnings
@ 2011-02-24 20:33 ` Jeff Mahoney
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Mahoney @ 2011-02-24 20:33 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: linux-ia64, Tony Luck

 The prototype for sn_pci_provider->{dma_map,dma_map_consistent} expects
 an unsigned long instead of a u64.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
 arch/ia64/sn/pci/tioca_provider.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/ia64/sn/pci/tioca_provider.c
+++ b/arch/ia64/sn/pci/tioca_provider.c
@@ -509,7 +509,7 @@ tioca_dma_unmap(struct pci_dev *pdev, dm
  * use the GART mapped mode.
  */
 static u64
-tioca_dma_map(struct pci_dev *pdev, u64 paddr, size_t byte_count, int dma_flags)
+tioca_dma_map(struct pci_dev *pdev, unsigned long paddr, size_t byte_count, int dma_flags)
 {
 	u64 mapaddr;
 
-- 
Jeff Mahoney
SUSE Labs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-24 20:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-24 20:33 [PATCH] tioca: Fix assignment from incompatible pointer warnings Jeff Mahoney
2011-02-24 20:33 ` Jeff Mahoney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.