Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752019AbdFLME2 (ORCPT ); Mon, 12 Jun 2017 08:04:28 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:33317 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750730AbdFLME1 (ORCPT ); Mon, 12 Jun 2017 08:04:27 -0400 Date: Mon, 12 Jun 2017 14:04:23 +0200 From: Krzysztof Kozlowski To: Arvind Yadav Cc: balbi@kernel.org, kgene@kernel.org, javier@osg.samsung.com, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] usb: dwc3: exynos: Handle return value of clk_prepare_enable Message-ID: <20170612120423.GB11300@kozik-book> References: <3e8b3037c345341c2bda612b6de204f6c83dde38.1497264433.git.arvind.yadav.cs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <3e8b3037c345341c2bda612b6de204f6c83dde38.1497264433.git.arvind.yadav.cs@gmail.com> 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: 387 Lines: 13 On Mon, Jun 12, 2017 at 04:23:31PM +0530, Arvind Yadav wrote: > clk_prepare_enable() can fail here and we must check its return value. > > Signed-off-by: Arvind Yadav > --- > drivers/usb/dwc3/dwc3-exynos.c | 13 ++++++++++--- > 1 file changed, 10 insertions(+), 3 deletions(-) > Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof