summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2016-01-11 16:29:29 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-08 11:25:33 +0100
commit60c7f8fca1bbc6ac677a76f25843202b91f52abb (patch)
treeb909dbfd12e50333f674d09177798a49d4450ecf /Makefile
parent873beab3740a085ba284ed7daa4ab4068074db53 (diff)
rcu: Force boolean subscript for expedited stall warnings
commit ec3833ed02ae6ef2a933ece9de7cbab0c64c699e upstream. The cpu_online() function can return values other than 0 and 1, which can result in subscript overflow when applied to a two-element array. This commit allows for this behavior by using "!!" on the return value from cpu_online() when used as a subscript. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: "Rantala, Tommi" <tommi.t.rantala@nokia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions