lkml.org 
[lkml]   [2006]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Minor cleanup to lockdep.c

* Ingo Molnar <mingo@elte.hu> wrote:

>
> * Andi Kleen <ak@suse.de> wrote:
>
> > - Use printk formatting for indentation
> > - Don't leave NTFS in the default event filter
> >
> > Signed-off-by: Andi Kleen <ak@suse.de>
>
> thanks!
>
> Acked-by: Ingo Molnar <mingo@elte.hu>

and here's two small cleanups to the cleanup [add-on patch] :-)

------------------------>
Subject: [patch] lockdep: minor cleanup to lockdep.c, #2
From: Ingo Molnar <mingo@elte.hu>

fix some minor whitespace damage introduced by the cleanup patch.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
kernel/lockdep.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux/kernel/lockdep.c
===================================================================
--- linux.orig/kernel/lockdep.c
+++ linux/kernel/lockdep.c
@@ -170,7 +170,7 @@ EXPORT_SYMBOL(lockdep_internal);
static int class_filter(struct lock_class *class)
{
#if 0
- /* Example */
+ /* Example */
if (class->name_version == 1 &&
!strcmp(class->name, "lockname"))
return 1;
@@ -179,7 +179,7 @@ static int class_filter(struct lock_clas
return 1;
#endif
/* Allow everything else. 0 would be filter everything else */
- return 1;
+ return 1;
}
#endif

-
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/
\
 
 \ /
  Last update: 2006-07-04 14:17    [W:0.354 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site