From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Stefan Potyra <Stefan.Potyra@elektrobit.com>
Cc: Jiri Slaby <jslaby@suse.com>,
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.
Date: Mon, 23 Apr 2018 09:55:19 +0200 [thread overview]
Message-ID: <20180423075519.GA13262@kroah.com> (raw)
In-Reply-To: <20180419130228.rdee6hwsjcui5py7@agrajag.zerfleddert.de>
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 <Stefan.Potyra@elektrobit.com>
> ---
> 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
next prev parent reply other threads:[~2018-04-23 7:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-19 13:02 [PATCH] Check for an error when the clock is enabled Stefan Potyra
2018-04-23 7:55 ` Greg Kroah-Hartman [this message]
2018-04-24 16:03 ` [PATCH v2] sc16is7xx: " Stefan Potyra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180423075519.GA13262@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=Stefan.Potyra@elektrobit.com \
--cc=jslaby@suse.com \
--cc=ldv-project@linuxtesting.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=sil2review@lists.osadl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox