public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] dfu: dfu_sf: Pass duplicate devstr to parse_dev
Date: Tue, 20 Oct 2015 11:45:10 -0400	[thread overview]
Message-ID: <20151020154510.GM23893@bill-the-cat> (raw)
In-Reply-To: <1445334721-10839-2-git-send-email-vigneshr@ti.com>

On Tue, Oct 20, 2015 at 03:22:00PM +0530, Vignesh R wrote:

> parse_dev() alters the string pointed by devstr parameter. Due to this
> subsequent parsing of sf entities will fail, as string pointed by devstr
> is no longer valid sf dev arguments.
> Fix this by passing pointer to the copy of the string to parse_dev
> instead of pointer to the actual devstr.
> 
> Signed-off-by: Vignesh R <vigneshr@ti.com>

Reviewed-by: Tom Rini <trini@konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151020/baae26ee/attachment.sig>

  reply	other threads:[~2015-10-20 15:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-20  9:51 [U-Boot] [PATCH 0/2] DFU support for qspi on dra7xx Vignesh R
2015-10-20  9:52 ` [U-Boot] [PATCH 1/2] dfu: dfu_sf: Pass duplicate devstr to parse_dev Vignesh R
2015-10-20 15:45   ` Tom Rini [this message]
2015-10-20  9:52 ` [U-Boot] [PATCH 2/2] ARM: dra7xx_evm: Add DFU support for qspi flash Vignesh R
2015-10-20 10:37   ` Lukasz Majewski
2015-10-20 10:46     ` Vignesh R
2015-10-20 11:06       ` Lukasz Majewski
2015-10-20 15:45   ` Tom Rini
2015-10-20 15:58     ` Lukasz Majewski

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=20151020154510.GM23893@bill-the-cat \
    --to=trini@konsulko.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