From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH][v2] fsl/usb: Limit phy_type comparison to first four characters
Date: Mon, 24 Feb 2014 15:58:05 -0800 [thread overview]
Message-ID: <530BDC8D.4000806@freescale.com> (raw)
In-Reply-To: <1392636516-2791-1-git-send-email-nikhil.badola@freescale.com>
On 02/17/2014 03:28 AM, Nikhil Badola wrote:
> Use first four characters for phy_type comparison. Strcmp() should not
> be used to check the phy_type string which maybe parsed by hwconfig_subarg().
> Hwconfig_subarg() returns part of hwconfig string starting from
> phy_type value till the end of the string. Since phy_type could be
> either "utmi" or "ulpi", strncmp() should be used so that a comparison
> of "utmi;fsl_ddr:bank_intlv=auto" with "utmi" will succeed.
>
> Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
> Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com>
> ---
> Changes for v2:
> - Changed patch heading
> - Changed patch commit message
>
Applied to u-boot-mpc85xx/master. Thanks.
York
prev parent reply other threads:[~2014-02-24 23:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-17 11:28 [U-Boot] [PATCH][v2] fsl/usb: Limit phy_type comparison to first four characters Nikhil Badola
2014-02-24 23:58 ` York Sun [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=530BDC8D.4000806@freescale.com \
--to=yorksun@freescale.com \
--cc=u-boot@lists.denx.de \
/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