Re: [PATCH 26/26] printk.h: fix pr_cont_once() to not use pr_fmt()

From: Joe Perches
Date: Fri Oct 07 2011 - 16:45:48 EST


On Fri, 2011-10-07 at 14:33 -0600, jim.cromie@xxxxxxxxx wrote:
> diff --git a/include/linux/printk.h b/include/linux/printk.h
[]
> @@ -255,7 +255,7 @@ extern void dump_stack(void) __cold;
> #define pr_info_once(fmt, ...) \
> printk_once(KERN_INFO pr_fmt_info(fmt), ##__VA_ARGS__)
> #define pr_cont_once(fmt, ...) \
> - printk_once(KERN_CONT pr_fmt(fmt), ##__VA_ARGS__)
> + printk_once(KERN_CONT fmt, ##__VA_ARGS__)

As this is unused and defective, I think it'd be better
to remove it instead.


--
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/