On Tue, 14 Oct 2008, David Daney wrote: > +static const char *mips_cpu_names[] = { [...] > + [CPU_LAST] = NULL > +}; > + if (c->cputype >= CPU_LAST) ^^ Either you can use `>' here, or remove the [CPU_LAST] entry in mips_cpu_names[]. > + BUG(); > + name = mips_cpu_names[c->cputype]; > + if (!name) > BUG(); > - } > - > return name; > } 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