mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 01:41:39 +00:00
Staging: altpciechdma: 64bit type warning fix
Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
2fdec57610
commit
9cfa2bc2f4
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue