Messages in this thread Patch in this message | | | Date | Mon, 9 Aug 2004 12:14:45 +0200 (MEST) | From | Mikael Pettersson <> | Subject | [PATCH][2.6.8-rc3-mm2] ppc32 sysctl warning fix |
| |
One declaration of ppc32's proc_dol2crvec() wasn't converted to the new calling convention (ppos parameter added), causing compile-time warnings in kernel/sysctl.c. Trivial fix below.
/Mikael
--- linux-2.6.8-rc3-mm2/kernel/sysctl.c.~1~ 2004-08-09 01:16:41.000000000 +0200 +++ linux-2.6.8-rc3-mm2/kernel/sysctl.c 2004-08-09 02:07:30.000000000 +0200 @@ -120,7 +120,7 @@ #if defined(CONFIG_PPC32) && defined(CONFIG_6xx) extern unsigned long powersave_nap; int proc_dol2crvec(ctl_table *table, int write, struct file *filp, - void __user *buffer, size_t *lenp); + void __user *buffer, size_t *lenp, loff_t *ppos); #endif #ifdef CONFIG_BSD_PROCESS_ACCT - 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/
| |