Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1700209
| Path | csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Prarit Bhargava <prarit@redhat.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] printk: Make CONFIG_PRINTK_TIME an int |
| Date | Mon, 31 Jul 2017 19:20:02 +0200 |
| Message-ID | <u9mwi-Ac-7@gated-at.bofh.it> (permalink) |
| References | <u76YH-2Fx-15@gated-at.bofh.it> <u76YI-2Fx-39@gated-at.bofh.it> <u77Bn-2Vd-11@gated-at.bofh.it> |
| X-Original-To | "Luis R. Rodriguez" <mcgrof@kernel.org> |
| Dmarc-Filter | OpenDMARC Filter v1.3.2 mx1.redhat.com 37E45ED188 |
| Authentication-Results | ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com |
| Authentication-Results | ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=prarit@redhat.com |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252 |
| Content-Transfer-Encoding | 7bit |
| X-Scanned-By | MIMEDefang 2.79 on 10.5.11.11 |
| X-Greylist | Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Mon, 31 Jul 2017 17:11:48 +0000 (UTC) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 22 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linux-kernel@vger.kernel.org, Mark Salyzyn <salyzyn@android.com>, Jonathan Corbet <corbet@lwn.net>, Petr Mladek <pmladek@suse.com>, Sergey Senozhatsky <sergey.senozhatsky@gmail.com>, Steven Rostedt <rostedt@goodmis.org>, John Stultz <john.stultz@linaro.org>, Thomas Gleixner <tglx@linutronix.de>, Stephen Boyd <sboyd@codeaurora.org>, Andrew Morton <akpm@linux-foundation.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>, Christoffer Dall <cdall@linaro.org>, Deepa Dinamani <deepa.kernel@gmail.com>, Ingo Molnar <mingo@kernel.org>, Joel Fernandes <joelaf@google.com>, Kees Cook <keescook@chromium.org>, Peter Zijlstra <peterz@infradead.org>, Geert Uytterhoeven <geert+renesas@glider.be>, Nicholas Piggin <npiggin@gmail.com>, "Jason A. Donenfeld" <Jason@zx2c4.com>, Olof Johansson <olof@lixom.net>, Theodore Ts'o <tytso@mit.edu>, Josh Poimboeuf <jpoimboe@redhat.com>, linux-doc@vger.kernel.org |
| X-Original-Date | Mon, 31 Jul 2017 13:11:43 -0400 |
| X-Original-Message-ID | <b866c617-ee09-f62d-0e80-fd3cb2a738ae@redhat.com> |
| X-Original-References | <1500985047-23038-1-git-send-email-prarit@redhat.com> <1500985047-23038-2-git-send-email-prarit@redhat.com> <20170725125540.GD18884@wotan.suse.de> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1700209 |
Show key headers only | View raw
On 07/25/2017 08:55 AM, Luis R. Rodriguez wrote: > On Tue, Jul 25, 2017 at 08:17:26AM -0400, Prarit Bhargava wrote: >> diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c >> index fc47863f629c..26cf6cadd267 100644 >> --- a/kernel/printk/printk.c >> +++ b/kernel/printk/printk.c >> @@ -1202,8 +1202,40 @@ static inline void boot_delay_msec(int level) >> } >> #endif >> >> -static bool printk_time = IS_ENABLED(CONFIG_PRINTK_TIME); >> -module_param_named(time, printk_time, bool, S_IRUGO | S_IWUSR); >> +static int printk_time = CONFIG_PRINTK_TIME; > > You could just use unsigned int but is the reason you went with int to > enable backward compatibility with the old bool =y or =n? Yes, I wanted to preserve backwards compatibility. P.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/2] printk: allow different timestamps for printk.time Prarit Bhargava <prarit@redhat.com> - 2017-07-25 14:20 +0200
[PATCH 2/2] printk: Add boottime and real timestamps Prarit Bhargava <prarit@redhat.com> - 2017-07-25 14:20 +0200
Re: [PATCH 2/2] printk: Add boottime and real timestamps Peter Zijlstra <peterz@infradead.org> - 2017-07-25 15:10 +0200
Re: [PATCH 2/2] printk: Add boottime and real timestamps Mark Salyzyn <salyzyn@android.com> - 2017-07-26 00:40 +0200
Re: [PATCH 2/2] printk: Add boottime and real timestamps Prarit Bhargava <prarit@redhat.com> - 2017-07-28 17:10 +0200
Re: [PATCH 2/2] printk: Add boottime and real timestamps Thomas Gleixner <tglx@linutronix.de> - 2017-07-28 18:30 +0200
Re: [PATCH 2/2] printk: Add boottime and real timestamps kbuild test robot <lkp@intel.com> - 2017-07-27 05:10 +0200
Re: [PATCH 1/2] printk: Make CONFIG_PRINTK_TIME an int "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-07-25 15:00 +0200
Re: [PATCH 1/2] printk: Make CONFIG_PRINTK_TIME an int Prarit Bhargava <prarit@redhat.com> - 2017-07-31 19:20 +0200
csiph-web