[-mm patch] kernel/ckrm/rbce/rbce_core.c: fix -Wundef warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux