use correct pointer type

This commit is contained in:
internal 2022-10-25 19:28:36 +02:00
parent b8abf46d06
commit 42a0b65235
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ static int dma_alloc(struct pci_dev *pdev, struct ddb_dma *dma, int dir)
if (!dma->vbuf[i])
return -ENOMEM;
}
if (((u64)dma->vbuf[i] & 0xfff))
if (((uintptr_t) dma->vbuf[i] & 0xfff))
dev_err(&pdev->dev, "DMA memory at %px not aligned!\n", dma->vbuf[i]);
}
return 0;