summaryrefslogtreecommitdiffstats
path: root/lib/reciprocal_div.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-09-11 00:49:20 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-09-30 13:04:38 +0200
commit8f0ba630af45235a6866054704531d49e524e49a (patch)
treef16ad79e8df676bd837dc36d5d05f2dc789e8112 /lib/reciprocal_div.c
parentLinux 3.12-rc3 (diff)
downloadlinux-8f0ba630af45235a6866054704531d49e524e49a.tar.xz
linux-8f0ba630af45235a6866054704531d49e524e49a.zip
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 <yongjun_wei@trendmicro.com.cn> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'lib/reciprocal_div.c')
0 files changed, 0 insertions, 0 deletions