From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753289AbXJXIAx (ORCPT ); Wed, 24 Oct 2007 04:00:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751502AbXJXIAq (ORCPT ); Wed, 24 Oct 2007 04:00:46 -0400 Received: from smtp2.linux-foundation.org ([207.189.120.14]:39241 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751304AbXJXIAp (ORCPT ); Wed, 24 Oct 2007 04:00:45 -0400 Date: Wed, 24 Oct 2007 01:00:35 -0700 From: Andrew Morton To: Jiri Slaby Cc: Jeff Garzik , LKML Subject: Re: [PATCH 4/12] riscom8: fix SMP brokenness Message-Id: <20071024010035.8ce8fa04.akpm@linux-foundation.org> In-Reply-To: <471EF7C7.6020708@gmail.com> References: <20071023223638.DD9FE1F81A8@havoc.gtf.org> <471EEA7B.8070008@gmail.com> <20071024001052.4290adc7.akpm@linux-foundation.org> <471EF7C7.6020708@gmail.com> 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, 24 Oct 2007 09:44:07 +0200 Jiri Slaby wrote: > On 10/24/2007 09:10 AM, Andrew Morton wrote: > > On Wed, 24 Oct 2007 08:47:23 +0200 Jiri Slaby wrote: > > > >>> +static spinlock_t riscom_lock = SPIN_LOCK_UNLOCKED; > >> This is deprecated (see linux/spinlock_types.h for details), use DEFINE_SPINLOCK > >> instead, otherwise seems OK. > > > > Hey, if only we had a little perl script to check stuff like that. > > Can we integrate this into checkpatch? We already did. Now we need to integrate checkpatch into git...