[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Erroneous trap number format in spurious trap handler



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