Gitweb: http://git.kernel.org/linus/9cfa2bc2f455aa9ba1b7bd92eb6790d78c8fab4a Commit: 9cfa2bc2f455aa9ba1b7bd92eb6790d78c8fab4a Parent: 2fdec57610309f2cf67a8c0a82d262045bcd8c41 Author: Alan Cox <alan@linux.intel.com> AuthorDate: Wed Aug 19 17:18:04 2009 +0100 Committer: Greg Kroah-Hartman <gregkh@suse.de> CommitDate: Tue Sep 15 12:02:26 2009 -0700 Staging: altpciechdma: 64bit type warning fix Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/staging/altpciechdma/altpciechdma.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/altpciechdma/altpciechdma.c b/drivers/staging/altpciechdma/altpciechdma.c index 3724b8a..e0c5ba4 100644 --- a/drivers/staging/altpciechdma/altpciechdma.c +++ b/drivers/staging/altpciechdma/altpciechdma.c @@ -550,7 +550,7 @@ static int __devinit dma_test(struct ape_dev *ape, struct pci_dev *dev) #if 0 *(u32 *)(buffer_virt + i) = i / PAGE_SIZE + 1; #else - *(u32 *)(buffer_virt + i) = (buffer_virt + i); + *(u32 *)(buffer_virt + i) = (u32)(unsigned long)(buffer_virt + i); #endif #if 0 compare((u32 *)buffer_virt, (u32 *)(buffer_virt + 2 * PAGE_SIZE), 8192); -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
