lkml.org 
[lkml]   [2001]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
SubjectRe: [PATCH] omnibus include/ cleanup (biggish)
From
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

-
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: 2005-03-22 13:13    [W:0.054 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site