Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 7 Aug 2002 18:38:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 7 Aug 2002 18:38:18 -0400 Received: from smtpzilla5.xs4all.nl ([194.109.127.141]:5385 "EHLO smtpzilla5.xs4all.nl") by vger.kernel.org with ESMTP id convert rfc822-to-8bit; Wed, 7 Aug 2002 18:38:17 -0400 Date: Thu, 8 Aug 2002 00:41:28 +0200 (CEST) From: Roman Zippel X-X-Sender: roman@serv To: Daniel Phillips cc: Jesse Barnes , Rik van Riel , , , Subject: Re: [PATCH] lock assertion macros for 2.5.30 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 505 Lines: 19 Hi, On Thu, 8 Aug 2002, Daniel Phillips wrote: > > +#define MUST_HOLD_RW(lock)?????????????do { } while(0) > > Random gripe: don't all those do { } whiles look silly? We need > > #define NADA do { } while (0) IMO "((void)0)" looks nice too. bye, Roman - 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/