All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH]drivers:base:power:trace.c Add "UTC" Coordinated Universal Time to the printk.
@ 2011-06-09  6:01 Justin P. Mattock
  2011-06-12 12:12 ` Rafael J. Wysocki
  2011-06-12 12:12 ` Rafael J. Wysocki
  0 siblings, 2 replies; 24+ messages in thread
From: Justin P. Mattock @ 2011-06-09  6:01 UTC (permalink / raw)
  To: len.brown; +Cc: linux-pm, linux-kernel, Justin P. Mattock

From: "Justin P. Mattock" <justinmattock@gmail.com>

sounds stupid, but taking a glance at the time, and seeing the wrong time, or what seemed 
wrong in dmesg, caused me to go into total check the time clock panic mode.. So the patch below adds:
"UTC" Coordinated Universal Time abreviation to the printk so people like me dont flip out over the time!

before:
[    0.114915] Time:  1:47:03  Date: 06/09/11

after:
[    0.114728] Time:  5:46:02 UTC Date: 06/09/11

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>

---
 drivers/base/power/trace.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/base/power/trace.c b/drivers/base/power/trace.c
index c80e138..009f459 100644
--- a/drivers/base/power/trace.c
+++ b/drivers/base/power/trace.c
@@ -112,7 +112,7 @@ static unsigned int read_magic_time(void)
 	unsigned int val;
 
 	get_rtc_time(&time);
-	pr_info("Time: %2d:%02d:%02d  Date: %02d/%02d/%02d\n",
+	pr_info("Time: %2d:%02d:%02d UTC Date: %02d/%02d/%02d\n",
 		time.tm_hour, time.tm_min, time.tm_sec,
 		time.tm_mon + 1, time.tm_mday, time.tm_year % 100);
 	val = time.tm_year;				/* 100 years */
-- 
1.7.5.2


^ permalink raw reply related	[flat|nested] 24+ messages in thread
* [PATCH]drivers:base:power:trace.c Add "UTC" Coordinated Universal Time to the printk.
@ 2011-06-09  6:01 Justin P. Mattock
  0 siblings, 0 replies; 24+ messages in thread
From: Justin P. Mattock @ 2011-06-09  6:01 UTC (permalink / raw)
  To: len.brown; +Cc: linux-pm, linux-kernel, Justin P. Mattock

From: "Justin P. Mattock" <justinmattock@gmail.com>

sounds stupid, but taking a glance at the time, and seeing the wrong time, or what seemed 
wrong in dmesg, caused me to go into total check the time clock panic mode.. So the patch below adds:
"UTC" Coordinated Universal Time abreviation to the printk so people like me dont flip out over the time!

before:
[    0.114915] Time:  1:47:03  Date: 06/09/11

after:
[    0.114728] Time:  5:46:02 UTC Date: 06/09/11

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>

---
 drivers/base/power/trace.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/base/power/trace.c b/drivers/base/power/trace.c
index c80e138..009f459 100644
--- a/drivers/base/power/trace.c
+++ b/drivers/base/power/trace.c
@@ -112,7 +112,7 @@ static unsigned int read_magic_time(void)
 	unsigned int val;
 
 	get_rtc_time(&time);
-	pr_info("Time: %2d:%02d:%02d  Date: %02d/%02d/%02d\n",
+	pr_info("Time: %2d:%02d:%02d UTC Date: %02d/%02d/%02d\n",
 		time.tm_hour, time.tm_min, time.tm_sec,
 		time.tm_mon + 1, time.tm_mday, time.tm_year % 100);
 	val = time.tm_year;				/* 100 years */
-- 
1.7.5.2

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

end of thread, other threads:[~2011-06-19  6:28 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-09  6:01 [PATCH]drivers:base:power:trace.c Add "UTC" Coordinated Universal Time to the printk Justin P. Mattock
2011-06-12 12:12 ` Rafael J. Wysocki
2011-06-12 12:12 ` Rafael J. Wysocki
2011-06-12 15:52   ` Justin P. Mattock
2011-06-12 15:52   ` Justin P. Mattock
2011-06-12 18:35     ` Rafael J. Wysocki
2011-06-12 18:35     ` Rafael J. Wysocki
2011-06-12 19:34       ` Justin P. Mattock
2011-06-12 20:27         ` Rafael J. Wysocki
2011-06-12 22:29           ` Justin P. Mattock
2011-06-13 21:47             ` Rafael J. Wysocki
2011-06-13 21:47             ` Rafael J. Wysocki
2011-06-13 22:19               ` Justin P. Mattock
2011-06-13 22:19               ` Justin P. Mattock
2011-06-14 20:02                 ` Rafael J. Wysocki
2011-06-14 20:02                 ` Rafael J. Wysocki
2011-06-14 20:03                   ` Justin P. Mattock
2011-06-14 20:03                   ` Justin P. Mattock
2011-06-19  6:28                   ` Justin P. Mattock
2011-06-19  6:28                   ` Justin P. Mattock
2011-06-12 22:29           ` Justin P. Mattock
2011-06-12 20:27         ` Rafael J. Wysocki
2011-06-12 19:34       ` Justin P. Mattock
  -- strict thread matches above, loose matches on Subject: below --
2011-06-09  6:01 Justin P. Mattock

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.