On Monday 02 January 2012 18:49:11 Christian Daudt wrote: > --- a/tools/env/fw_env.c > +++ b/tools/env/fw_env.c > > +static int fd_is_mtd(int fd) > ... > + rc = ioctl (fd, MEMGETINFO, &mtdinfo);
no space before the "(" > + if (rc < 0) { > + // Failed MEMGETINFO, not MTD > + return 0; > + } else { > + // Succeeded, MTD > + return 1; > + } do not use // comments -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot