| Date | Fri, 22 Jul 2005 23:17:32 +0200 | From | Adrian Bunk <> | Subject | [-mm patch] kernel/ckrm/rbce/rbce_core.c: fix -Wundef warning |
| |
On Fri, Jul 15, 2005 at 01:36:53AM -0700, Andrew Morton wrote: >... > Changes since 2.6.13-rc2-mm2: >... > +ckrm-rule-based-classification-engine-full-ce.patch >... > Class-based kernel resource management >...
This patch fixes the following warning with -Wundef:
<-- snip -->
... CC kernel/ckrm/rbce/rbce_core.o kernel/ckrm/rbce/rbce_core.c:323:5: warning: "__NOT_YET__" is not defined ...
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.13-rc3-mm1-full/kernel/ckrm/rbce/rbce_core.c.old 2005-07-22 18:04:28.000000000 +0200 +++ linux-2.6.13-rc3-mm1-full/kernel/ckrm/rbce/rbce_core.c 2005-07-22 18:04:36.000000000 +0200 @@ -320,7 +320,7 @@ case RBCE_RULE_CMD_PATH: case RBCE_RULE_CMD: -#if __NOT_YET__ +#ifdef __NOT_YET__ if (!*filename) { /* get this once */ if (((*filename = kmalloc(NAME_MAX, - 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/
|