All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Egger <Christoph.Egger@amd.com>
To: xen-devel@lists.xensource.com
Cc: "Przywara, Andre" <Andre.Przywara@amd.com>,
	Keir Fraser <Keir.Fraser@eu.citrix.com>,
	Gianni Tedesco <gianni.tedesco@citrix.com>,
	Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: Re: [PATCH] xl: improve vif2 parsing
Date: Fri, 20 Aug 2010 16:28:07 +0200	[thread overview]
Message-ID: <201008201628.08694.Christoph.Egger@amd.com> (raw)
In-Reply-To: <1282311269.3731.55.camel@qabil.uk.xensource.com>

On Friday 20 August 2010 15:34:29 Gianni Tedesco wrote:
> On Fri, 2010-08-20 at 13:58 +0100, Andre Przywara wrote:
> > Gianni Tedesco wrote:
> > > On Fri, 2010-08-20 at 13:03 +0100, Andre Przywara wrote:
> > >> Andre Przywara wrote:
> > >>> Hi,
> > >>>
> > >>> vif2 parsing relies on counted strncmp() statements. Replace this
> > >>> with a more robust automatic version.
> > >>
> > >> No, I didn't want to leave this as an exercise to the reader, I am
> > >> just spoiled by git send-email, so forgot to attach the patch. Sorry!
> > >>
> > >>> Signed-off-by: Andre Przywara <andre.przywara@amd.com>
> > >
> > > Both patches look good to me.
> > >
> > >>> Regards,
> > >>> Andre.
> > >>>
> > >>> P.S. If you like this, I have seen at least two more instances of the
> > >>> same issue that could be improved this way.
> > >
> > > Can you say where?
> >
> > In main_networkattach() and main_network2attach().
>
> You should absolutely sort this out. So I had already done a cleanup for
> similar problem with PCI BDF's.

Yes and OS-dependent code still needs to be sorted out.

Christoph


-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

  reply	other threads:[~2010-08-20 14:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-20 12:01 [PATCH] xl: improve vif2 parsing Andre Przywara
2010-08-20 12:03 ` Andre Przywara
2010-08-20 12:41   ` Gianni Tedesco
2010-08-20 12:58     ` Andre Przywara
2010-08-20 13:34       ` Gianni Tedesco
2010-08-20 14:28         ` Christoph Egger [this message]
2010-08-20 14:30           ` Gianni Tedesco
2010-08-20 16:22         ` Stefano Stabellini
2010-08-20 16:16   ` Ian Jackson
2010-08-22 22:55     ` Andre Przywara

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=201008201628.08694.Christoph.Egger@amd.com \
    --to=christoph.egger@amd.com \
    --cc=Andre.Przywara@amd.com \
    --cc=Keir.Fraser@eu.citrix.com \
    --cc=Stefano.Stabellini@eu.citrix.com \
    --cc=gianni.tedesco@citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /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.