login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
1
Re: checkpatch and kernel/sched.c
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Avi Kivity <avi@...>
To: Andrew Morton <akpm@...>
Cc: Ingo Molnar <mingo@...>, Andy Whitcroft <apw@...>, <linux-kernel@...>
Subject:
Re: checkpatch and kernel/sched.c
Date: Monday, October 1, 2007 - 3:48 am
Andrew Morton wrote:
quoted text
>> this is actually a false positive - as the debug code constructs a >> printk output _without_ \n. So the script should check whether there's >> any \n in the printk string - if there is none, do not emit a warning. >> (if you implement that then i think it can remain a warning and does not >> need to move to CHECK.) >> > > Yeah, it does that sometimes. I don't think it's fixable within the scope > of checkpatch. It needs to check whether some preceding printk which might > not even be in the patch has a \n: > > printk(KERN_ERR "foo"); > <100 lines of whatever> > + printk("bar\n"); > > we're screwed... > >
Isn't that broken on SMP (or with preemption) anyway? -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. -
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
:
Cliffe
Re: [RFC 0/5] [TALPA] Intro to a linux interface for on access scanning
Amit K. Arora
[RFC] Heads up on sys_fallocate()
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Andrew Morton
Re: [RFC/PATCH] Documentation of kernel messages
linux-netdev
:
David Miller
[GIT]: Networking
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Radu Rendec
Endianness problem with u32 classifier hash masks
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
git
:
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
909 guests
online.
Syndicate