Messages in this thread Patch in this message | | | From | Grant Coady <> | Subject | [PATCH] -mm2: typo in ipc/ipc_sysctl.c -> compile failure | Date | Tue, 30 Jan 2007 17:27:10 +1100 |
| |
Hi there,
Dunno who does IPC so hoping you do ;) (ref.config: 20-rc6-mm2b/048)
Cheers, Grant. From: Grant Coady <gcoady.lk@gmail.com>
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 <gcoady.lk@gmail.com>
--- 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 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/
| |