public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: andersg@0x63.nu
To: Nathan Myers <ncm@nospam.cantrip.org>
Cc: linux-kernel@vger.kernel.org, alan@redhat.com, torvalds@transmeta.com
Subject: Re: [PATCH] omnibus include/ cleanup (biggish)
Date: Fri, 16 Nov 2001 12:37:35 +0100	[thread overview]
Message-ID: <20011116123735.B1804@h55p111.delphi.afb.lu.se> (raw)
In-Reply-To: <20011115175144.A6622@shell7.ba.best.com>
In-Reply-To: <20011115175144.A6622@shell7.ba.best.com>

On Thu, Nov 15, 2001 at 05:51:44PM -0800, Nathan Myers wrote:
> I have located every place under linux/include/ that #defines
> a macro with an improper unary expression, like any of

you missed this which generates a compiletime-error in sched.c with compiled
with WAITQUEUE_DEBUG

--- wait.h~	Thu Nov 15 22:54:50 2001
+++ wait.h	Thu Nov 15 22:59:04 2001
@@ -105,7 +105,7 @@
 	} while (0)
 #define WQ_CHECK_LIST_HEAD(list) 						\
 	do {									\
-		if (!list->next || !list->prev)					\
+		if (!(list)->next || !(list)->prev)					\
 			WQ_BUG();						\
 	} while(0)
 #define WQ_NOTE_WAKER(tsk)							\


-- 

//anders/g


      reply	other threads:[~2001-11-16 11:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-16  1:51 [PATCH] omnibus include/ cleanup (biggish) Nathan Myers
2001-11-16 11:37 ` andersg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011116123735.B1804@h55p111.delphi.afb.lu.se \
    --to=andersg@0x63.nu \
    --cc=alan@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ncm@nospam.cantrip.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox