From: Al Viro Date: Mon, 29 Oct 2007 05:08:38 +0000 (+0000) Subject: deal with resource allocation bugs in arcmsr X-Git-Tag: v2.6.24-rc2~106 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db3a91fe2b425c9adde47069efebdba44e665cef;p=pandora-kernel.git deal with resource allocation bugs in arcmsr a) for type B we should _not_ iounmap() acb->pmu; it's not ioremapped. b) for type B we should iounmap() two regions we _do_ ioremap. c) if ioremap() fails, we need to bail out (and clean up). Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed