lkml.org 
[lkml]   [2004]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/
\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.025 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site