Received: by 10.192.165.148 with SMTP id m20csp3139988imm; Mon, 23 Apr 2018 00:58:31 -0700 (PDT) X-Google-Smtp-Source: AIpwx497fhVgj8Yhmel2+yb4kTVrTZFXtvSo1LmgL3Nfo50dQJHOMQ7SDHQWPZ/uhcFmDD8/lfzu X-Received: by 10.99.127.80 with SMTP id p16mr16036665pgn.79.1524470311323; Mon, 23 Apr 2018 00:58:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524470311; cv=none; d=google.com; s=arc-20160816; b=jZNFnCNjo66oZ0OaBe0fLKsTkZ8Iva5uymxD/qVsIL8Jkcmci7pAg09GH0kAPesk12 /qxcx6JfY+ah0bGh870SK4X6mSReC2v/3g0xW/wO2i9S/3kqBkmSAzFZfSOs+eiZQeNe 5pzhdP6fMNsNUDWDq9NWt0NKgZcOWNoYDr/qOGTwV+SoWDP03G9UZsGJ4dn48WNTOXii GqwJwBjgq07F7QK1ftP7yxbC0n44TNnT2bunPXFlD0d6w30birBpVRafKDi76FIhQsfr J1UXRJ4kHypThDWBKaKvrosTIezwT0NPLe/Pf7jKMR55CcEbC2Y8jEhZxb0T+fosmgsB b0mA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=D8ARVDR82B/d4cAaqVoaRJxemAAlIAE7gXJydN5u7FQ=; b=aIhr5m6YVZbprz5RletTMaCDkyBffDqu/Ha5PgXfsnlfVinmcRCTVa3twKXLCkixhf aW6XlubMQoHH7Nl/IasNPeZxM68Pdp6rSpGddzDshugl8iVlB7rtEGNNinUqLMQ5UOKg dJbO01MYyiA7pyuFfKFjOMaGhs1zR+ueV+XfTf60sLed5/1nSfvfo0fhnt7C0OgdxQ6P c3pyJ/05myDps10pj9RPhVXcab1iaytGAV5KqC/PGGkBAz8tdNYZ59nwu4xMNiYRmuBN ENs18JHlP0P0vcTkF2RUj8vIKNYBnzC7vX/E1vYrMgGbHwrVBDGL0KFXRjvsPixrUISz R8QQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l33-v6si11071624pld.512.2018.04.23.00.58.17; Mon, 23 Apr 2018 00:58:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754242AbeDWHz3 (ORCPT + 99 others); Mon, 23 Apr 2018 03:55:29 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:40178 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754004AbeDWHz0 (ORCPT ); Mon, 23 Apr 2018 03:55:26 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 61A6BBB3; Mon, 23 Apr 2018 07:55:25 +0000 (UTC) Date: Mon, 23 Apr 2018 09:55:19 +0200 From: Greg Kroah-Hartman To: Stefan Potyra Cc: Jiri Slaby , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, ldv-project@linuxtesting.org, sil2review@lists.osadl.org Subject: Re: [PATCH] Check for an error when the clock is enabled. Message-ID: <20180423075519.GA13262@kroah.com> References: <20180419130228.rdee6hwsjcui5py7@agrajag.zerfleddert.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180419130228.rdee6hwsjcui5py7@agrajag.zerfleddert.de> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 19, 2018 at 03:02:28PM +0200, Stefan Potyra wrote: > Found by Linux Driver Verification project (linuxtesting.org). Please fix up your subject line to have something "real" in it, along with the proper prefix. And put more context here in the changelog, saying why you are doing this, this "empty line" doesn't mean anything. > > Fixes: 0814e8d5da2b sc16is7xx: enable the clock Fixes: 0814e8d5da2b ("sc16is7xx: enable the clock") is the correct format. > Signed-off-by: Stefan Potyra > --- > drivers/tty/serial/sc16is7xx.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c > index 65792a3539d0..243c96025053 100644 > --- a/drivers/tty/serial/sc16is7xx.c > +++ b/drivers/tty/serial/sc16is7xx.c > @@ -1168,7 +1168,10 @@ static int sc16is7xx_probe(struct device *dev, > else > return PTR_ERR(s->clk); > } else { > - clk_prepare_enable(s->clk); > + ret = clk_prepare_enable(s->clk); > + if (ret) > + return ret; > + Please fix up the above and resend. thanks, greg k-h