Changing mtd.name to a char *
dwmw2 at infradead.org
Mon Jul 3 13:09:08 EDT 2000
jgg at ualberta.ca said:
> Hmmm. How about a char * ?
> That might be best.
Argh. The MEMGETINFO ioctl returns the first part of the struct mtd_info,
which used to contain the actual name of the device, but now just holds a
pointer to it.
For now, I've just shifted the name field out of the part which is available
to the user - if anyone cares, you'll have to code up a MEMGETNAME ioctl
which nicely and safely passes back the variable-length name.
Of course, I'm still screwed because I can't currently compile armv4l
binaries for my test board, so I can't update my utils to reflect that.
Could anyone compile the contents of the util/ directory for armv4l and
mail them to dwmw2 at redhat.com?
To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org
More information about the linux-mtd