diff options
author | Zhouyang Jia <jiazhouyang09@gmail.com> | 2018-06-12 11:13:00 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-06-19 22:02:25 -0400 |
commit | aa154ea885eb0c2407457ce9c1538d78c95456fa (patch) | |
tree | 59749bd63b907b4be8046a38ca0bb78460159908 /drivers/scsi/gdth.c | |
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>
Diffstat (limited to 'drivers/scsi/gdth.c')
0 files changed, 0 insertions, 0 deletions