Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7b17cb1 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

ax88796 (address space): cast to unsigned long, not long

parent 5b26e64e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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",