[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120921.134742.1997041315490397151.davem@davemloft.net>
Date: Fri, 21 Sep 2012 13:47:42 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: weiyj.lk@...il.com
Cc: samuel@...tiz.org, yongjun_wei@...ndmicro.com.cn,
netdev@...r.kernel.org
Subject: Re: [PATCH] net/irda: sh_sir: fix return value check in
sh_sir_set_baudrate()
From: Wei Yongjun <weiyj.lk@...il.com>
Date: Fri, 21 Sep 2012 15:13:55 +0800
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> In case of error, the function clk_get() returns ERR_PTR()
> and never returns NULL pointer. The NULL test in the error
> handling should be replaced with IS_ERR().
>
> dpatch engine is used to auto generated this patch.
> (https://github.com/weiyj/dpatch)
>
> Signed-off-by: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists