diff options
author | Johannes Thumshirn <jthumshirn@suse.de> | 2015-05-22 11:15:02 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-08-12 11:18:47 -0700 |
commit | 0a66ac17abf2bd03e30fbe20b1847258b960b683 (patch) | |
tree | 91cf9b928b94dd34894538fc97f4ef8273339ac8 /kernel/sys.c | |
parent | a30c2a3bf8571c6748dd16edc10b32d45ed71a72 (diff) | |
download | linux-0a66ac17abf2bd03e30fbe20b1847258b960b683.tar.gz linux-0a66ac17abf2bd03e30fbe20b1847258b960b683.tar.bz2 linux-0a66ac17abf2bd03e30fbe20b1847258b960b683.zip |
mvsas: always iounmap resources
In case pci_resource_start() or pci_resource_len() reutrn 0, mvsas_ioremap
returns without doing an iounmap() of mvi->regs_ex.
Found by the cocinelle tool.
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions