Command line parsing
Marius Groeger
mgroeger at sysgo.com
Tue Sep 20 03:37:12 EDT 2005
On Mon, 19 Sep 2005, David A. Braun wrote:
> If the name in master->name doesn't match any of the partitions
> mentioned on the kernel command line then *pparts->offset is not
> initialized. The result is that all the partitions start at 0. Also
> the length of the "SIZE_REMAINING" partition is never initialized.
> Also the return value is -EINVAL instead of the number of
> partitions. This results in none of the partitions being pass to the
> driver. The only partition that appears in /proc/partitions is one
> for the whole device.
Thanks for digging so deeply in to the code. I suggest it would be
best if you prepare a patch and send it to the list.
Regards,
Marius
--
Marius Groeger <mgroeger at sysgo.com>
SYSGO AG Embedded and Real-Time Software
Voice: +49 6136 9948 0 FAX: +49 6136 9948 10
www.sysgo.com | www.elinos.com | www.osek.de | www.pikeos.com
More information about the linux-mtd
mailing list