login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
4
Re: [patch] printk: add KERN_CONT annotation
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Andrew Morton <akpm@...>
To: Ingo Molnar <mingo@...>
Cc: <w@...>, <apw@...>, <linux-kernel@...>
Subject:
Re: [patch] printk: add KERN_CONT annotation
Date: Thursday, October 4, 2007 - 4:43 pm
On Tue, 2 Oct 2007 07:18:52 +0200 Ingo Molnar <mingo@elte.hu> wrote:
quoted text
> > printk: add the KERN_CONT annotation (which is empty string but via > which checkpatch.pl can notice that the lacking KERN_ level is fine). > This useful for multiple calls of hand-crafted printk output done by > early debug code or similar. >
I like it. Sort of self-documenting notation.
quoted text
> > Index: linux/include/linux/kernel.h > =================================================================== > --- linux.orig/include/linux/kernel.h > +++ linux/include/linux/kernel.h > @@ -61,6 +61,13 @@ extern const char linux_proc_banner[]; > #define KERN_INFO "<6>" /* informational */ > #define KERN_DEBUG "<7>" /* debug-level messages */ > > +/* > + * Annotation for a "continued" line of log printout (only done after a > + * line that had no enclosing \n). Only to be used by core/arch code > + * during early bootup (a continued line is not SMP-safe otherwise). > + */ > +#define KERN_CONT "" > + > extern int console_printk[]; > > #define console_loglevel (console_printk[0]) > Index: linux/kernel/sched.c
I get rejects from the sched.c hunk and that's your stuff anwyay, so I dropped that bit. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: checkpatch and kernel/sched.c
, Ingo Molnar
, (Mon Oct 1, 2:44 am)
Re: checkpatch and kernel/sched.c
, Andrew Morton
, (Mon Oct 1, 3:30 am)
Re: checkpatch and kernel/sched.c
, Willy Tarreau
, (Tue Oct 2, 12:34 am)
[patch] printk: add KERN_CONT annotation
, Ingo Molnar
, (Tue Oct 2, 1:18 am)
Re: [patch] printk: add KERN_CONT annotation
, Andrew Morton
, (Thu Oct 4, 4:43 pm)
Re: [patch] printk: add KERN_CONT annotation
, Ingo Molnar
, (Thu Oct 4, 4:52 pm)
Re: [patch] printk: add KERN_CONT annotation
, Joe Perches
, (Tue Oct 2, 11:41 am)
Re: [patch] printk: add KERN_CONT annotation
, Jan Engelhardt
, (Tue Oct 2, 11:45 am)
Re: [patch] printk: add KERN_CONT annotation
, Joe Perches
, (Tue Oct 2, 12:03 pm)
Re: [patch] printk: add KERN_CONT annotation
, Jan Engelhardt
, (Tue Oct 2, 12:07 pm)
Re: [patch] printk: add KERN_CONT annotation
, Jörn
, (Tue Oct 2, 6:04 am)
Re: checkpatch and kernel/sched.c
, Andy Whitcroft
, (Mon Oct 1, 8:34 am)
Re: checkpatch and kernel/sched.c
, Ingo Molnar
, (Mon Oct 1, 6:44 am)
Re: checkpatch and kernel/sched.c
, Ingo Molnar
, (Mon Oct 1, 6:37 am)
Re: checkpatch and kernel/sched.c
, Sam Ravnborg
, (Mon Oct 1, 3:50 am)
Re: checkpatch and kernel/sched.c
, Avi Kivity
, (Mon Oct 1, 3:48 am)
Re: checkpatch and kernel/sched.c
, Andrew Morton
, (Mon Oct 1, 3:39 am)
Re: checkpatch and kernel/sched.c
, Ingo Molnar
, (Mon Oct 1, 6:39 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ingo Molnar
[bug] block subsystem related crash with latest -git
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Adrian Bunk
Re: net/ipv4/fib_trie.c - compile error (Re: 2.6.23-rc3-mm1)
git
:
linux-netdev
:
Gerrit Renker
[PATCH 03/37] dccp: List management for new feature negotiation
Jarek Poplawski
[PATCH take 2] pkt_sched: Protect gen estimators under est_lock.
David Miller
[GIT]: Networking
Natalie Protasevich
[BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
8 users
and
741 guests
online.
Online users
love17
medtodi4seo71jj
deckabot
consultinginfin
icecoolerkacs
Yerka85
solarpoweredho
bamboomatsddf
Syndicate