From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 10 Jan 2018 13:38:43 -0800 From: Stephen Boyd To: Wei Yongjun Cc: Joel Stanley , Michael Turquette , linux-clk@vger.kernel.org Subject: Re: [PATCH -next] clk: aspeed: Fix return value check in aspeed_cc_init() Message-ID: <20180110213843.GC28313@codeaurora.org> References: <1515116461-156320-1-git-send-email-weiyongjun1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1515116461-156320-1-git-send-email-weiyongjun1@huawei.com> List-ID: On 01/05, Wei Yongjun wrote: > In case of error, the function of_iomap() returns NULL pointer not > ERR_PTR(). The IS_ERR() test in the return value check should be > replaced with NULL test. > > Fixes: a2e230c7b2ea ("clk: Add clock driver for ASPEED BMC SoCs") > Signed-off-by: Wei Yongjun > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project