diff options
author | Zhouyang Jia <jiazhouyang09@gmail.com> | 2018-06-12 06:13:00 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-06-20 05:02:25 +0300 |
commit | aa154ea885eb0c2407457ce9c1538d78c95456fa (patch) | |
tree | 59749bd63b907b4be8046a38ca0bb78460159908 /drivers/scsi/aha1740.c | |
parent | 2da11d4262639dc0e2fabc6a70886db57af25c43 (diff) | |
download | linux-aa154ea885eb0c2407457ce9c1538d78c95456fa.tar.xz |
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>
Diffstat (limited to 'drivers/scsi/aha1740.c')
0 files changed, 0 insertions, 0 deletions