From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 20 Jun 2016 17:00:57 -0700 From: Stephen Boyd To: weiyj_lk@163.com Cc: Michael Turquette , Neil Armstrong , Wei Yongjun , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] clk: Fix return value check in oxnas_stdclk_probe() Message-ID: <20160621000057.GC1521@codeaurora.org> References: <1466184263-17890-1-git-send-email-weiyj_lk@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1466184263-17890-1-git-send-email-weiyj_lk@163.com> List-ID: On 06/17, weiyj_lk@163.com wrote: > From: Wei Yongjun > > In case of error, the function syscon_node_to_regmap() 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 > --- Applied to clk-fixes + added fixes tag. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project