]> git.baikalelectronics.ru Git - kernel.git/commit
ucc_geth: Fix IO memory (un)mapping code
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Thu, 18 Dec 2008 08:23:33 +0000 (08:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Dec 2008 06:50:55 +0000 (22:50 -0800)
commitd170836597a2098d0b3329cfe1c2cbfe9f6e44f4
treee8feae86c1f4d5a096a1f4f971abe1dbe78072e3
parent57c58b732f5a960ab99b35e8070d47f84c75d0d2
ucc_geth: Fix IO memory (un)mapping code

The driver doesn't check ioremap() return value, and doesn't free the
remapped memory.

This patch fixes it.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ucc_geth.c