All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 1/3] clocksource: mtk_timer: add pr_fmt define
@ 2015-10-25 23:21 Alexey Klimov
  2015-10-25 23:21 ` [PATCH v3 2/3] clocksource: mtk_timer: fix pr_warn() messages in mtk_timer_init Alexey Klimov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alexey Klimov @ 2015-10-25 23:21 UTC (permalink / raw)
  To: daniel.lezcano, matthias.bgg, linux-kernel, joe
  Cc: linux-mediatek, yingjoe.chen, tglx, klimov.linux, Alexey Klimov

It's a bit unclear what subsystem/driver emits some messages
to dmesg in function mtk_init_timer().
Use pr_fmt to auto-prefix the messages appropriately.

Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org>
---
Changes in v3:
  -- none

Changes in v2:
  -- added acked-by from Matthias

 drivers/clocksource/mtk_timer.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/clocksource/mtk_timer.c b/drivers/clocksource/mtk_timer.c
index 50f0641..ca5ea9e 100644
--- a/drivers/clocksource/mtk_timer.c
+++ b/drivers/clocksource/mtk_timer.c
@@ -16,6 +16,8 @@
  * GNU General Public License for more details.
  */
 
+#define pr_fmt(fmt)	KBUILD_MODNAME ": " fmt
+
 #include <linux/clk.h>
 #include <linux/clockchips.h>
 #include <linux/interrupt.h>
-- 
2.1.4

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

end of thread, other threads:[~2015-10-27 10:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-25 23:21 [PATCH v3 1/3] clocksource: mtk_timer: add pr_fmt define Alexey Klimov
2015-10-25 23:21 ` [PATCH v3 2/3] clocksource: mtk_timer: fix pr_warn() messages in mtk_timer_init Alexey Klimov
2015-10-25 23:21 ` [PATCH v3 3/3] clocksource: mtk_timer: fix memleak in mtk_timer_init() Alexey Klimov
2015-10-27 10:21 ` [PATCH v3 1/3] clocksource: mtk_timer: add pr_fmt define Daniel Lezcano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.