lkml.org 
[lkml]   [2015]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 07/18 v3] tracing: Add TRACE_DEFINE_ENUM() macro to map enums to their values
On Fri, 17 Apr 2015 10:44:42 +0300
Andrey Ryabinin <a.ryabinin@samsung.com> wrote:


> And kasan is not needed to debug this further.
> Just stick WARN_ON(ptr > call->print_fmt + strlen(call->print_fmt)) into the 'for' loop in update_event_printk().

Thanks, although I think I found the bug with just inspection. I put in
WARN_ON(*ptr) at various locations to see if it triggers.

-- Steve



\
 
 \ /
  Last update: 2015-04-17 16:01    [W:0.115 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site