WARNING: suspicious RCU usage

Fabio Estevam festevam at gmail.com
Fri Dec 15 12:36:49 PST 2017


Hi Paul,

On Fri, Dec 15, 2017 at 4:23 PM, Paul E. McKenney
<paulmck at linux.vnet.ibm.com> wrote:

> How about this one, also untested etc.?

This one gives a build warning:

arch/arm/kernel/smp.c: In function ‘__cpu_die’:
arch/arm/kernel/smp.c:262:5: warning: ‘ret’ may be used uninitialized
in this function [-Wmaybe-uninitialized]
  if (!ret) {
     ^

but when I run suspend/resume I don't see the RCU warning with this
patch applied.

Thanks



More information about the linux-arm-kernel mailing list