commit | db3a91fe2b425c9adde47069efebdba44e665cef | [log] [tgz] |
---|---|---|
author | Al Viro <viro@ftp.linux.org.uk> | Mon Oct 29 05:08:38 2007 +0000 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Mon Oct 29 07:41:33 2007 -0700 |
tree | 85137ad8531f2dfa667bad11c82116c8f5feed48 | |
parent | 142956af525002c5378e7d91d81a01189841a785 [diff] |
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 <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>