commit | aa154ea885eb0c2407457ce9c1538d78c95456fa | [log] [tgz] |
---|---|---|
author | Zhouyang Jia <jiazhouyang09@gmail.com> | Tue Jun 12 11:13:00 2018 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Jun 19 22:02:25 2018 -0400 |
tree | 59749bd63b907b4be8046a38ca0bb78460159908 | |
parent | 2da11d4262639dc0e2fabc6a70886db57af25c43 [diff] |
scsi: bnx2i: add error handling for ioremap_nocache When ioremap_nocache fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling ioremap_nocache. Signed-off-by: Zhouyang Jia <jiazhouyang09@gmail.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Acked-by: Manish Rangankar <Manish.Rangankar@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>