linux-s390.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] s390/3270: fix return value check in tty3270_resize_work()
       [not found] <CAPgLHd9h2yi1NQdpQGXuCwewLY1ycuUqBx7Hp14=DJaVgGAEgw@mail.gmail.com>
@ 2013-09-11  5:32 ` Heiko Carstens
  0 siblings, 0 replies; only message in thread
From: Heiko Carstens @ 2013-09-11  5:32 UTC (permalink / raw)
  To: linux-s390

On Wed, Sep 11, 2013 at 06:49:20AM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
> 
> 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>

Applied, thanks!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-11  5:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAPgLHd9h2yi1NQdpQGXuCwewLY1ycuUqBx7Hp14=DJaVgGAEgw@mail.gmail.com>
2013-09-11  5:32 ` [PATCH] s390/3270: fix return value check in tty3270_resize_work() Heiko Carstens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).