[tip:WIP.sched/cpusallowed 12/13] drivers/cpufreq/sparc-us2e-cpufreq.c:270:69: error: expected ';' before ')' token

From: kbuild test robot
Date: Wed Apr 12 2017 - 23:20:40 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/cpusallowed
head: 4ba98c7ec4094a9123d0d6aabb4497290207b518
commit: 6c06178b50bf61bf9fd4311e99e1f9f470b31b5d [12/13] cpufreq/sparc-us2e: Remove affinity games
config: sparc64-allyesconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 6c06178b50bf61bf9fd4311e99e1f9f470b31b5d
# save the attached .config to linux build tree
make.cross ARCH=sparc64

All errors (new ones prefixed by >>):

drivers/cpufreq/sparc-us2e-cpufreq.c: In function 'us2e_freq_target':
>> drivers/cpufreq/sparc-us2e-cpufreq.c:270:69: error: expected ';' before ')' token
return smp_call_function_single(cpu, __us2e_freq_target, &index, 1))
^
>> drivers/cpufreq/sparc-us2e-cpufreq.c:270:69: error: expected statement before ')' token

vim +270 drivers/cpufreq/sparc-us2e-cpufreq.c

264 }
265
266 static int us2e_freq_target(struct cpufreq_policy *policy, unsigned int index)
267 {
268 unsigned int cpu = policy->cpu;
269
> 270 return smp_call_function_single(cpu, __us2e_freq_target, &index, 1))
271 }
272
273 static int __init us2e_freq_cpu_init(struct cpufreq_policy *policy)

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip