ax88796 (address space): cast to unsigned long, not long
PATCH 1/1 ax88796 (address space): cast to unsigned long, not long
Signed-off-by Al Viro <[email protected]>
--- drivers/net/ax88796.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/ax88796.c +1 -1
@@ -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",
Signature · 1 line
1.5.3.GIT
Quoted 10 lines · Al Viro
Signed-off-by Al Viro <[email protected]>--- drivers/net/ax88796.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/net/ax88796.c +0
-0
drivers/net/ax88796.c static int ax_probe(struct platform_device *pdev) · line 822
Quoted 5 lines
drivers/net/ax88796.c +1
-1@@ -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;
ACK