On Wed, Jul 11, 2007 at 11:27:53AM -0700, ron minnich wrote:
> Acked-by: Ronald G. Minnich <[EMAIL PROTECTED]>

Yep,

Acked-by: Uwe Hermann <[EMAIL PROTECTED]>

But some small issues:


> > +/* Add a human touch to the LAR size by allowing suffixes:
> > +   XX[KkMm] where k = XX * 1024 and m or M = xx * 1024 * 1024
> > +*/

/* Add a human touch to the LAR size by allowing suffixes:
 * XX[KkMm] where k = XX * 1024 and m or M = xx * 1024 * 1024
 */


> > +
> > +static void parse_larsize(char *str)

static void parse_larsize(const char *str)


> > +{
> > +  char *p = NULL;
> > +  unsigned int size = strtoul(str, &p, 0);
> > +
> > +  if (p != NULL) {
> > +    if (*p == 'k' || *p == 'K')
> > +      size *= 1024;
> > +    else if (*p == 'm' || *p == 'M')
> > +      size *= (1024 * 1024);
> > +    else {
> > +      fprintf(stderr, "Unknown LAR size suffix %c\n", *p);
> > +      exit(1);
> > +    }
> > +  }
> > +
> > +  larsize = size;
> > +}

Please fix the coding style (TABs instead of spaces, for example).


Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org

Attachment: signature.asc
Description: Digital signature

-- 
linuxbios mailing list
[email protected]
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to