Re: [rcu:dev.2019.03.12a 64/65] kernel//rcu/rcuperf.c:198:1: error: expected ';' before '}' token

From: Paul E. McKenney
Date: Mon Mar 18 2019 - 18:37:11 EST


On Tue, Mar 19, 2019 at 06:06:12AM +0800, kbuild test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2019.03.12a
> head: 667a45dd2b898f2aaf6dcbfa471c8a23f603bde5
> commit: a3f5f4fae7255e7ed4a5a8be80612cdd76c65ac6 [64/65] rcu: Forbid DEFINE{,_STATIC}_SRCU() from modules
> config: i386-randconfig-x077-201911 (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> reproduce:
> git checkout a3f5f4fae7255e7ed4a5a8be80612cdd76c65ac6
> # save the attached .config to linux build tree
> make ARCH=i386
>
> All errors (new ones prefixed by >>):
>
> kernel//rcu/rcuperf.c: In function 'srcu_sync_perf_init':
> >> kernel//rcu/rcuperf.c:198:1: error: expected ';' before '}' token
> }
> ^
>
> vim +198 kernel//rcu/rcuperf.c
>
> 194
> 195 static void srcu_sync_perf_init(void)
> 196 {
> 197 srcu_ctlp = &srcu_ctl_perf
> > 198 }
> 199 #endif
> 200

Looks like I need to break out the brown paper bag! :-/

I have a fixup patch on my v5.1-rc1 branch.

Thanx, Paul