Re: mm snapshot broken-out-2007-01-26-00-36.tar.gz uploaded

Michal Piotrowski
2007-01-26T17:48:53Z

akpm@osdl.org napisał(a):
> The mm snapshot broken-out-2007-01-26-00-36.tar.gz has been uploaded to
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-01-26-00-36.tar.gz
>

kernel/sys.c:359: error: conflicting types for '__blocking_notifier_call_chain'
include/linux/notifier.h:140: error: previous declaration of '__blocking_notifier_call_chain' was here
kernel/sys.c:375: error: conflicting types for '__blocking_notifier_call_chain'
include/linux/notifier.h:140: error: previous declaration of '__blocking_notifier_call_chain' was here
make[1]: *** [kernel/sys.o] Error 1
make: *** [kernel] Error 2

Possible fix.

Regards,
Michal

--
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/)

Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>

--- linux-work-clean/kernel/sys.c 2007-01-26 16:47:56.000000000 +0100
+++ linux-work/kernel/sys.c 2007-01-26 18:40:30.000000000 +0100
@@ -355,7 +355,7 @@ EXPORT_SYMBOL_GPL(blocking_notifier_chai

int __blocking_notifier_call_chain(struct blocking_notifier_head *nh,
unsigned long val, void *v,
- int nr_to_call, unsigned int *nr_calls)
+ int nr_to_call, int *nr_calls)
{
int ret = NOTIFY_DONE;