From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com ([134.134.136.65]:55275 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751759AbdJLRLU (ORCPT ); Thu, 12 Oct 2017 13:11:20 -0400 Message-ID: <1507827914.16112.449.camel@linux.intel.com> Subject: Re: [PATCH v1 24/25] kdb: Switch to use %pt From: Andy Shevchenko To: Arnd Bergmann Cc: Rasmus Villemoes , Greg Kroah-Hartman , Andrew Morton , Linux Kernel Mailing List , Alessandro Zummo , Alexandre Belloni , linux-rtc@vger.kernel.org, Jason Wessel , Ingo Molnar Date: Thu, 12 Oct 2017 20:05:14 +0300 In-Reply-To: References: <20170608134811.60786-1-andriy.shevchenko@linux.intel.com> <20170608134811.60786-25-andriy.shevchenko@linux.intel.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-rtc-owner@vger.kernel.org List-ID: On Thu, 2017-10-12 at 15:31 +0200, Arnd Bergmann wrote: > On Thu, Jun 8, 2017 at 3:48 PM, Andy Shevchenko > wrote: > > > diff --git a/kernel/debug/kdb/kdb_main.c > > b/kernel/debug/kdb/kdb_main.c > > index c8146d53ca67..2a6f12be79d8 100644 > > --- a/kernel/debug/kdb/kdb_main.c > > +++ b/kernel/debug/kdb/kdb_main.c > > @@ -2556,12 +2556,7 @@ static int kdb_summary(int argc, const char > > **argv) > > > > now = __current_kernel_time(); > > kdb_gmtime(&now, &tm); > > - kdb_printf("date %04d-%02d-%02d %02d:%02d:%02d " > > - "tz_minuteswest %d\n", > > - 1900+tm.tm_year, tm.tm_mon+1, tm.tm_mday, > > - tm.tm_hour, tm.tm_min, tm.tm_sec, > > - sys_tz.tz_minuteswest); > > - > > I just experimented with a similar change and noticed your version. > > You forgot to remove the kdb_gmtime() function that is now completely > unneeded. My patch takes care of that now. So, are you going to substitute entire series by your variant? What did you choose to be format for the %p extension? -- Andy Shevchenko Intel Finland Oy