#1391 closed defect (fixed)

sparc BSPs spurious handler printk format error

Reported by: Joel Sherrill Owned by: Joel Sherrill
Priority: normal Milestone: 4.10
Component: bsps Version: 4.9
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

http://www.rtems.org/pipermail/rtems-users/2009-March/005064.html

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).

Attachments (1)

pr1391.diff (1.9 KB) - added by Joel Sherrill on 03/09/09 at 15:54:21.
Patch

Download all attachments as: .zip

Change History (2)

Changed on 03/09/09 at 15:54:21 by Joel Sherrill

Attachment: pr1391.diff added

Patch

comment:1 Changed on 03/09/09 at 15:57:35 by Joel Sherrill

Resolution: fixed
Status: newclosed

Patch applied to 4.8 and newer.

Note: See TracTickets for help on using tickets.