diff options
| author | Zhouyang Jia <jiazhouyang09@gmail.com> | 2018-06-12 12:36:25 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-10 08:52:06 +0200 |
| commit | 4e9cf990bf43e290d5fca4d08a6dde7f68521fc0 (patch) | |
| tree | bc33198ef7e2ee22b43b34878d3454abbc79f092 /tools/perf/scripts/python/netdev-times.py | |
| parent | 778ebfa4c973f0960825bab52da019687d530236 (diff) | |
drivers/tty: add error handling for pcmcia_loop_config
[ Upstream commit 85c634e919bd6ef17427f26a52920aeba12e16ee ]
When pcmcia_loop_config fails, the lack of error-handling code may
cause unexpected results.
This patch adds error-handling code after calling pcmcia_loop_config.
Signed-off-by: Zhouyang Jia <jiazhouyang09@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
