[PATCH] -mm2: typo in ipc/ipc_sysctl.c -> compile failure

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

 



Hi there,

Dunno who does IPC so hoping you do ;)  (ref.config: 20-rc6-mm2b/048)

Cheers,
Grant.
From: Grant Coady <[email protected]>

Fix typos causing compile failure when CONFIG_PROC_FS not set in 
ipc/ipc_sysctl.c, compile tested.

ipc/ipc_sysctl.c:107: error: `proc_ipc_doulongvec_minmax' undeclared here (not in a function)
ipc/ipc_sysctl.c:107: error: initializer element is not constant
[...]
ipc/ipc_sysctl.c:164: error: (near initialization for `ipc_kern_table[7]')
make[1]: *** [ipc/ipc_sysctl.o] Error 1
make: *** [ipc] Error 2

Also applies cleanly to 2.6.20-rc6-mm3.

Signed-off-by: Grant Coady <[email protected]>

---
 ipc_sysctl.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.20-rc6-mm2a/ipc/ipc_sysctl.c	2007-01-30 07:41:08.000000000 +1100
+++ linux-2.6.20-rc6-mm2b/ipc/ipc_sysctl.c	2007-01-30 16:45:03.000000000 +1100
@@ -50,8 +50,8 @@
 }
 
 #else
-#define proc_ipc_do_ulongvec_minmax NULL
-#define proc_ipc_do_intvec	    NULL
+#define proc_ipc_doulongvec_minmax NULL
+#define proc_ipc_dointvec	   NULL
 #endif
 
 #ifdef CONFIG_SYSCTL_SYSCALL
-
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]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux