Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] iomem annotations (ac3200.c)

no need to mess with (wrong) casts for ->mem_start, when we have the
original iomem pointer used to set ->mem_start in the first place...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

authored by

viro@ftp.linux.org.uk and committed by
Jeff Garzik
5ac90037 8e84c801

+1 -1
+1 -1
drivers/net/ac3200.c
··· 275 275 return 0; 276 276 out2: 277 277 if (ei_status.reg0) 278 - iounmap((void *)dev->mem_start); 278 + iounmap(ei_status.mem); 279 279 out1: 280 280 free_irq(dev->irq, dev); 281 281 out: