From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH v2] memory: mtk-smi: Handle return value of clk_prepare_enable Date: Tue, 15 Aug 2017 17:47:26 +0200 Message-ID: <20170815154726.GC25618@8bytes.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Arvind Yadav Cc: matthias.bgg@gmail.com, iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org List-Id: linux-mediatek@lists.infradead.org On Thu, Aug 10, 2017 at 10:47:32AM +0530, Arvind Yadav wrote: > clk_prepare_enable() can fail here and we must check its return value. > > Signed-off-by: Arvind Yadav > --- > changes in v2: > Rebase patch[1]https://lkml.org/lkml/2017/8/3/968 > and apply this change. Otherwise will merge conflict. > > drivers/memory/mtk-smi.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) Applied, thanks.