diff options
author | Zhouyang Jia <jiazhouyang09@gmail.com> | 2018-06-12 11:13:00 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-03 16:59:14 -0700 |
commit | 939dd916dc25cb110c798fd427d39ade5b40b1ca (patch) | |
tree | 7465cf6f052d65995d29bc38e1ca21a35347a062 /fs | |
parent | 074e4687846ed41ec2c9d0b34ebb0632961f75d2 (diff) | |
download | linux-stable-939dd916dc25cb110c798fd427d39ade5b40b1ca.tar.gz linux-stable-939dd916dc25cb110c798fd427d39ade5b40b1ca.tar.bz2 linux-stable-939dd916dc25cb110c798fd427d39ade5b40b1ca.zip |
scsi: bnx2i: add error handling for ioremap_nocache
[ Upstream commit aa154ea885eb0c2407457ce9c1538d78c95456fa ]
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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions