diff options
| author | Zhouyang Jia <jiazhouyang09@gmail.com> | 2018-06-12 11:13:00 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-10 08:52:06 +0200 |
| commit | 7e1b660dc70e486fcf104c40cde784084a6e9b6b (patch) | |
| tree | f804cc5b4c8246723517a32a8f293aec4da58094 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | e645e3c0029037fa8088b012591a58e8dfa8e390 (diff) | |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
