lkml.org 
[lkml]   [2009]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/3] ftrace: Add compile-time check on F_printk()
> +static void __used ____ftrace_check_##name(void)		\

oops, I should use "__maybe_unused"..

> +{ \
> + struct ____ftrace_##name *__entry = NULL; \
> + \
> + /* force cmpile-time check on F_printk() */ \
> + printk(print); \
> +}


\
 
 \ /
  Last update: 2009-09-14 11:03    [W:0.088 / U:0.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site