On Fri, Apr 12, 2013 at 3:53 AM, Alison Wang <b18965 at freescale.com> wrote: > +static char *get_reset_cause(void) > +{ > + char *resetcause[32] = {"POR", > + "Cortex A5 WDOG Timer Reset", > + 0, You mix strings and an integer zero here. Shouldn't you replace the '0' with "unknown" or "invalid" ? Regards, Fabio Estevam