Re: [PATCH 2/3] ftrace: Add compile-time check on F_printk()
From: Li Zefan
Date: Mon Sep 14 2009 - 05:00:19 EST
> +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); \
> +}
--
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/