On Thu, 20 Sep 2007, Matteo Croce wrote: > +static int create_mtd_partitions(struct mtd_info *master, > + struct mtd_partition **pparts, > + unsigned long origin) > +{ [...] > + master->read(master, offset, > + sizeof(header), &len, (u_char *)&header); ^^^^^^^^^^^ Probably we should teach mtd to use `void *' for read and write buffers, so all these ugly casts can go away... Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds