From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f44.google.com ([74.125.83.44]:38514 "EHLO mail-pg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755479AbdGTRwl (ORCPT ); Thu, 20 Jul 2017 13:52:41 -0400 Received: by mail-pg0-f44.google.com with SMTP id s4so17759097pgr.5 for ; Thu, 20 Jul 2017 10:52:41 -0700 (PDT) Subject: Re: [PATCH 4/4] time: rtc-lib: Add CONFIG_RTC_SHOW_TIME_RTC To: Pavel Machek Cc: linux-kernel@vger.kernel.org, rjw@rjwysocki.net, len.brown@intel.com, linux-pm@vger.kernel.org, a.zummo@towertech.it, alexandre.belloni@free-electrons.com, linux-rtc@vger.kernel.org, prarit@redhat.com, andy.shevchenko@gmail.com, "Paul E. McKenney" References: <20170719195012.30187-1-salyzyn@android.com> <20170720082620.GB14149@amd> From: Mark Salyzyn Message-ID: Date: Thu, 20 Jul 2017 10:52:39 -0700 MIME-Version: 1.0 In-Reply-To: <20170720082620.GB14149@amd> Content-Type: text/plain; charset=windows-1252; format=flowed Sender: linux-rtc-owner@vger.kernel.org List-ID: On 07/20/2017 01:26 AM, Pavel Machek wrote: >> +#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 It was NAKed in the group, I put it aside in its own patch to keep from throwing out the baby with the bathwater. Was hoping that a private CONFIG_RTC_SHOW_TIME_RTC would be acceptable. I guess not, topic is dead. A refresh is being tested that addresses many of the other concerns. -- Mark