lkml.org 
[lkml]   [2010]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 7/8] x86/mrst: add vrtc driver which serves as a wall clock device
From
Date
On Fri, 2010-05-07 at 10:41 -0700, Jacob Pan wrote: 
> + printk(KERN_INFO "vRTC: sec: %d min: %d hour: %d day: %d "
> + "mon: %d year: %d\n", sec, min, hour, mday, mon, year);
> +

Even though many of the rtc drivers print this way, it seems
a very backwards way of presenting time to me.

I think "yyyy-mm-dd hh:mm:ss" is a better representation, more
compact and readable.

Also KERN_INFO may not be good, maybe KERN_DEBUG or pr_debug?



\
 
 \ /
  Last update: 2010-05-07 20:53    [W:0.182 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site