From: Kishon Vijay Abraham I <kishon@ti.com>
To: Axel Lin <axel.lin@ingics.com>
Cc: Anup Patel <anup.patel@broadcom.com>,
Florian Fainelli <f.fainelli@gmail.com>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH RESEND] phy: brcm-sata: Return proper error if brcm_sata_phy_init fails
Date: Fri, 12 Aug 2016 14:10:14 +0530 [thread overview]
Message-ID: <57AD8B6E.5050009@ti.com> (raw)
In-Reply-To: <1470823484-18198-1-git-send-email-axel.lin@ingics.com>
On Wednesday 10 August 2016 03:34 PM, Axel Lin wrote:
> Return proper error instead of 0 if brcm_sata_phy_init fails.
merged now, thanks.
-Kishon
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> It was sent on https://lkml.org/lkml/2016/5/23/12 .
> drivers/phy/phy-brcm-sata.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/phy/phy-brcm-sata.c b/drivers/phy/phy-brcm-sata.c
> index 18d6626..8ffc44a 100644
> --- a/drivers/phy/phy-brcm-sata.c
> +++ b/drivers/phy/phy-brcm-sata.c
> @@ -367,7 +367,7 @@ static int brcm_sata_phy_init(struct phy *phy)
> rc = -ENODEV;
> };
>
> - return 0;
> + return rc;
> }
>
> static const struct phy_ops phy_ops = {
>
prev parent reply other threads:[~2016-08-12 8:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-10 10:04 [PATCH RESEND] phy: brcm-sata: Return proper error if brcm_sata_phy_init fails Axel Lin
2016-08-12 8:40 ` Kishon Vijay Abraham I [this message]
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=57AD8B6E.5050009@ti.com \
--to=kishon@ti.com \
--cc=anup.patel@broadcom.com \
--cc=axel.lin@ingics.com \
--cc=f.fainelli@gmail.com \
--cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.