Messages in this thread Patch in this message |  | | Date | Fri, 16 Nov 2001 12:37:35 +0100 | Subject | Re: [PATCH] omnibus include/ cleanup (biggish) | From | andersg@0x63 ... |
| |
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/
|  |