summaryrefslogtreecommitdiff
path: root/drivers/scsi/arcmsr/arcmsr_attr.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-10-29 05:08:38 (GMT)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-29 14:41:33 (GMT)
commitdb3a91fe2b425c9adde47069efebdba44e665cef (patch)
tree85137ad8531f2dfa667bad11c82116c8f5feed48 /drivers/scsi/arcmsr/arcmsr_attr.c
parent142956af525002c5378e7d91d81a01189841a785 (diff)
downloadlinux-fsl-qoriq-db3a91fe2b425c9adde47069efebdba44e665cef.tar.xz
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/scsi/arcmsr/arcmsr_attr.c')
0 files changed, 0 insertions, 0 deletions