From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759956AbXGDAQd (ORCPT ); Tue, 3 Jul 2007 20:16:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754018AbXGDAQ0 (ORCPT ); Tue, 3 Jul 2007 20:16:26 -0400 Received: from smtp2.linux-foundation.org ([207.189.120.14]:55250 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753371AbXGDAQ0 (ORCPT ); Tue, 3 Jul 2007 20:16:26 -0400 Date: Tue, 3 Jul 2007 17:16:06 -0700 From: Andrew Morton To: Jiri Kosina Cc: Ingo Molnar , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Two trivial whitespace fixes in lockdep/spinlock code Message-Id: <20070703171606.fb027c2b.akpm@linux-foundation.org> In-Reply-To: References: X-Mailer: Sylpheed 2.4.1 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 4 Jul 2007 02:14:42 +0200 (CEST) Jiri Kosina wrote: > From: Jiri Kosina > > Two trivial whitespace fixes in lockdep/spinlock code > > Cc: Ingo Molnar > Signed-off-by: Jiri Kosina > > diff --git a/kernel/lockdep.c b/kernel/lockdep.c > index 1a5ff22..12ca5fd 100644 > --- a/kernel/lockdep.c > +++ b/kernel/lockdep.c > @@ -1222,7 +1222,7 @@ register_lock_class(struct lockdep_map *lock, unsigned int subclass, int force) > > /* > * Debug-check: all keys must be persistent! > - */ > + */ > if (!static_obj(lock->key)) { > debug_locks_off(); > printk("INFO: trying to register non-static key.\n"); > diff --git a/kernel/spinlock.c b/kernel/spinlock.c > index 2c6c2bf..5386d7e 100644 > --- a/kernel/spinlock.c > +++ b/kernel/spinlock.c > @@ -28,7 +28,7 @@ int __lockfunc _spin_trylock(spinlock_t *lock) > spin_acquire(&lock->dep_map, 0, 1, _RET_IP_); > return 1; > } > - > + > preempt_enable(); > return 0; > } Too trivial, sorry: we could generate 8 million patches like this.