Use the newly added smp_call_func_t in smp_call_function_interruptfor the func variable, and make the comment above the WARN more assertiveand explicit. Also, func is a function pointer and does not need anoffset, so use %pf not %pS.

Signed-off-by: Milton Miller <miltonm@bga.com>---v3 use func to call the function too, as suggested, instead of makingcompiler notice the repeated access.

/*- * If the cpu mask is not still set then it enabled interrupts,- * we took another smp interrupt, and executed the function- * twice on this cpu. In theory that copy decremented refs.+ * If the cpu mask is not still set then func enabled+ * interrupts (BUG), and this cpu took another smp call+ * function interrupt and executed func(info) twice+ * on this cpu. That nested execution decremented refs. */ if (!cpumask_test_and_clear_cpu(cpu, data->cpumask)) {- WARN(1, "%pS enabled interrupts and double executed\n",+ WARN(1, "%pf enabled interrupts and double executed\n", func); continue; }