From: Wei Yongjun Date: Tue, 10 Sep 2013 22:49:20 +0000 (+0800) Subject: s390/3270: fix return value check in tty3270_resize_work() X-Git-Tag: v3.12-rc5~28^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f0ba630af45235a6866054704531d49e524e49a;p=pandora-kernel.git 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 Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed