diff options
author | Wei Yongjun <[email protected]> | 2013-09-11 06:49:20 +0800 |
---|---|---|
committer | Martin Schwidefsky <[email protected]> | 2013-09-30 13:04:38 +0200 |
commit | 8f0ba630af45235a6866054704531d49e524e49a (patch) | |
tree | f16ad79e8df676bd837dc36d5d05f2dc789e8112 /tools/perf/util/trace-event-scripting.c | |
parent | 15c03dd4859ab16f9212238f29dd315654aa94f6 (diff) |
s390/3270: fix return value check in tty3270_resize_work()
In case of error, the function tty3270_alloc_screen() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions