mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ppc32: Fix warning on CONFIG_PPC32 && CONFIG_6xx
@ 2004-08-12 19:49 Tom Rini
  2004-08-12 21:35 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2004-08-12 19:49 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Kernel Mailing List, Paul Mackerras

In the *ppos cleanups, proc_dol2crvec was updated, but the prototype
found at the top of kernel/sysctl.h was not, generating warning.  This
corrects the prototype to match the code.

(I'm gonna take a stab at moving these into arch/ppc shortly)

Signed-off-by: Tom Rini <trini@kernel.crashing.org>

===== kernel/sysctl.c 1.82 vs edited =====
--- 1.82/kernel/sysctl.c	2004-08-07 23:43:41 -07:00
+++ edited/kernel/sysctl.c	2004-08-12 12:45:43 -07:00
@@ -113,7 +113,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

-- 
Tom Rini
http://gate.crashing.org/~trini/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-08-12 21:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-12 19:49 [PATCH] ppc32: Fix warning on CONFIG_PPC32 && CONFIG_6xx Tom Rini
2004-08-12 21:35 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®