Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753025AbdHOPra (ORCPT ); Tue, 15 Aug 2017 11:47:30 -0400 Received: from 8bytes.org ([81.169.241.247]:43396 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752352AbdHOPr2 (ORCPT ); Tue, 15 Aug 2017 11:47:28 -0400 Date: Tue, 15 Aug 2017 17:47:26 +0200 From: Joerg Roedel 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 Subject: Re: [PATCH v2] memory: mtk-smi: Handle return value of clk_prepare_enable Message-ID: <20170815154726.GC25618@8bytes.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 462 Lines: 13 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.