Messages in this thread | | | Date | Thu, 20 Jul 2017 10:26:20 +0200 | From | Pavel Machek <> | Subject | Re: [PATCH 4/4] time: rtc-lib: Add CONFIG_RTC_SHOW_TIME_RTC |
| |
> +#if defined(CONFIG_RTC_SHOW_TIME_RTC) > + { > + struct rtc_time tm; > + > + rtc_time64_to_tm(ts.tv_sec, &tm); > + pr_info("%s %d-%02d-%02d %02d:%02d:%02d.%09lu UTC\n", > + prefix_msg ? prefix_msg : "Time:", > + tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, > + tm.tm_hour, tm.tm_min, tm.tm_sec, ts.tv_nsec); > + } > +#else
This was NAKed before. Are you even listening, or are you trying to flood us with enough mail so that someone applies your patches by mistake? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html [unhandled content-type:application/pgp-signature]
| |