lkml.org 
[lkml]   [2007]   [Oct]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 24 Oct 2007 09:44:07 +0200
FromJiri Slaby <>
SubjectRe: [PATCH 4/12] riscom8: fix SMP brokenness
On 10/24/2007 09:10 AM, Andrew Morton wrote:
> On Wed, 24 Oct 2007 08:47:23 +0200 Jiri Slaby <jirislaby@gmail.com> 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?
-
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: 2007-10-24 07:47    [from the cache]
©2003-2008