]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
trace: add build-time check to avoid overrunning hex buffer
authorHarvey Harrison <harvey.harrison@gmail.com>
Thu, 9 Oct 2008 00:44:55 +0000 (17:44 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:39:26 +0000 (10:39 +0200)
commitad0a3b68114e8f3c25ac0045b45a2838f23e3b3a
treebd7d7b9255276b6d9fecdf7bf0ef632196d07a6b
parent2fbc474901933c8f0c09b0280dfbb6780cb8bd60
trace: add build-time check to avoid overrunning hex buffer

Remove the runtime BUG_ON and change to a compile-time check in
the macro that calls the hex format routine

[Noticed by Joe Perches]
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.c