Erroneous trap number format in spurious trap handler

LACROIX antoine antoine.lacroix at sodern.fr
Fri Mar 6 09:48:43 UTC 2009


Hi to all,

A little email to point out that there is a printk format error in the
spurious trap handler of the erc32/leon2 and leon3 bsps:

printk( "Unexpected trap (0x%2d) at address 0x%08x\n", real_trap,
isf->tpc);

the trap number is displayed as a decimal but prefixed as a hexadecimal
number (0x).

I haven't checked the other bsps.

Antoine




More information about the users mailing list