[lkml]   [2004]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
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.


--- 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);

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2005-03-22 14:05    [W:0.022 / U:11.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site