[PATCH] (26/43) alpha gcc4 warnings

2005-08-23 Thread Al Viro
on UP smp_call_function() is expanded to expression.  Alpha oprofile
calls that puppy and ignores the return value.  And has -Werror for
arch/*...

Signed-off-by: Al Viro <[EMAIL PROTECTED]>

diff -urN RC13-rc6-git13-envctrl/arch/alpha/oprofile/common.c 
RC13-rc6-git13-alpha-warnings/arch/alpha/oprofile/common.c
--- RC13-rc6-git13-envctrl/arch/alpha/oprofile/common.c 2005-06-17 
15:48:29.0 -0400
+++ RC13-rc6-git13-alpha-warnings/arch/alpha/oprofile/common.c  2005-08-21 
13:17:09.0 -0400
@@ -65,7 +65,7 @@
model->reg_setup(, ctr, );
 
/* Configure the registers on all cpus.  */
-   smp_call_function(model->cpu_setup, , 0, 1);
+   (void)smp_call_function(model->cpu_setup, , 0, 1);
model->cpu_setup();
return 0;
 }
@@ -86,7 +86,7 @@
 static int
 op_axp_start(void)
 {
-   smp_call_function(op_axp_cpu_start, NULL, 0, 1);
+   (void)smp_call_function(op_axp_cpu_start, NULL, 0, 1);
op_axp_cpu_start(NULL);
return 0;
 }
@@ -101,7 +101,7 @@
 static void
 op_axp_stop(void)
 {
-   smp_call_function(op_axp_cpu_stop, NULL, 0, 1);
+   (void)smp_call_function(op_axp_cpu_stop, NULL, 0, 1);
op_axp_cpu_stop(NULL);
 }
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] (26/43) alpha gcc4 warnings

2005-08-23 Thread Al Viro
on UP smp_call_function() is expanded to expression.  Alpha oprofile
calls that puppy and ignores the return value.  And has -Werror for
arch/*...

Signed-off-by: Al Viro [EMAIL PROTECTED]

diff -urN RC13-rc6-git13-envctrl/arch/alpha/oprofile/common.c 
RC13-rc6-git13-alpha-warnings/arch/alpha/oprofile/common.c
--- RC13-rc6-git13-envctrl/arch/alpha/oprofile/common.c 2005-06-17 
15:48:29.0 -0400
+++ RC13-rc6-git13-alpha-warnings/arch/alpha/oprofile/common.c  2005-08-21 
13:17:09.0 -0400
@@ -65,7 +65,7 @@
model-reg_setup(reg, ctr, sys);
 
/* Configure the registers on all cpus.  */
-   smp_call_function(model-cpu_setup, reg, 0, 1);
+   (void)smp_call_function(model-cpu_setup, reg, 0, 1);
model-cpu_setup(reg);
return 0;
 }
@@ -86,7 +86,7 @@
 static int
 op_axp_start(void)
 {
-   smp_call_function(op_axp_cpu_start, NULL, 0, 1);
+   (void)smp_call_function(op_axp_cpu_start, NULL, 0, 1);
op_axp_cpu_start(NULL);
return 0;
 }
@@ -101,7 +101,7 @@
 static void
 op_axp_stop(void)
 {
-   smp_call_function(op_axp_cpu_stop, NULL, 0, 1);
+   (void)smp_call_function(op_axp_cpu_stop, NULL, 0, 1);
op_axp_cpu_stop(NULL);
 }
 
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/