mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
ax88796 (address space): cast to unsigned long, not long
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
5b26e64ea3
commit
c7b17cb13e
1 changed files with 1 additions and 1 deletions
|
@ -819,7 +819,7 @@ static int ax_probe(struct platform_device *pdev)
|
|||
}
|
||||
|
||||
ei_status.mem = ioremap(res->start, size);
|
||||
dev->base_addr = (long)ei_status.mem;
|
||||
dev->base_addr = (unsigned long)ei_status.mem;
|
||||
|
||||
if (ei_status.mem == NULL) {
|
||||
dev_err(&pdev->dev, "Cannot ioremap area (%08zx,%08zx)\n",
|
||||
|
|
Loading…
Reference in a new issue