[flashrom] [PATCH] Check for duplicate -i arguments.

Stefan Tauner stefan.tauner at student.tuwien.ac.at
Sun Apr 15 16:11:19 CEST 2012


On Sun, 15 Apr 2012 01:26:35 +0200
Uwe Hermann <uwe at hermann-uwe.de> wrote:

> On Sat, Feb 25, 2012 at 10:18:13PM +0100, Stefan Tauner wrote:
> > And a tiny cleanup.
> > ---
> > ./flashrom -p dummy:emulate=M25P10.RES  -c M25P10 -i blub -i blub
> > flashrom v0.9.5-r1505 on Linux 2.6.35-32-generic (x86_64), built with libpci 3.1.7, GCC 4.4.5, little endian
> > flashrom is free software, get the source code at http://www.flashrom.org
> > 
> > Duplicate region name: "blub".
> > Please run "flashrom --help" for usage info.
> > 
> > Signed-off-by: Stefan Tauner <stefan.tauner at student.tuwien.ac.at>
> 
> Looks good and seems to work fine here.
> 
> Acked-by: Uwe Hermann <uwe at hermann-uwe.de>

thank you!
committed in r1523.

> > +/* returns the index of the entry (or a negative value if it is not found) */
> 
> Should start with capital letter and end with full-stop.

true, but OTOH *all* of them in that file are in this form...
i have kept them as is for now (including the new one) and plan to
change them together in a later layout.c or formatting patch.


-- 
Kind regards/Mit freundlichen Grüßen, Stefan Tauner




More information about the flashrom mailing list