diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-10-29 05:08:38 +0000 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-29 07:41:33 -0700 |
commit | db3a91fe2b425c9adde47069efebdba44e665cef (patch) | |
tree | 85137ad8531f2dfa667bad11c82116c8f5feed48 /drivers/block/DAC960.c | |
parent | 142956af525002c5378e7d91d81a01189841a785 (diff) | |
download | op-kernel-dev-db3a91fe2b425c9adde47069efebdba44e665cef.zip op-kernel-dev-db3a91fe2b425c9adde47069efebdba44e665cef.tar.gz |
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>
Diffstat (limited to 'drivers/block/DAC960.c')
0 files changed, 0 insertions, 0 deletions