mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC] move #define pr_fmt KBUILD_MODNAME and KMSG_COMPONENT to Makefiles?
@ 2009-09-29 18:15 Joe Perches
  2009-09-30  6:55 ` Sam Ravnborg
  0 siblings, 1 reply; 6+ messages in thread
From: Joe Perches @ 2009-09-29 18:15 UTC (permalink / raw)
  To: LKML; +Cc: Sam Ravnborg, Martin Schwidefsky

There are starting to be more uses of

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

and

#define KMSG_COMPONENT "foo"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt

in kernel sources.

Perhaps it would be better to put these
defines in the appropriate Makefile and not
sprinkle the sources with them multiple times?




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-10-01 11:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-29 18:15 [RFC] move #define pr_fmt KBUILD_MODNAME and KMSG_COMPONENT to Makefiles? Joe Perches
2009-09-30  6:55 ` Sam Ravnborg
2009-09-30  7:54   ` Joe Perches
2009-09-30  9:20     ` Martin Schwidefsky
2009-09-30 14:52       ` Joe Perches
2009-10-01 11:02         ` Martin Schwidefsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®