Re: [PATCH 1/3] ftrace: add kernel command line graph function filtering

From: Frédéric Weisbecker
Date: Tue Oct 13 2009 - 05:00:14 EST


2009/10/13 Li Zefan <lizf@xxxxxxxxxxxxxx>:
>> +#ifdef CONFIG_FUNCTION_GRAPH_TRACER
>> +static int __init set_graph_function(char *str)
>> +{
>> +     strncpy(ftrace_graph_buf, str, FTRACE_FILTER_SIZE);
>
> should use strlcpy().
>

Right, I'll fix, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/