summaryrefslogtreecommitdiffstats
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2021-08-05 15:57:12 -0700
committerPaul E. McKenney <paulmck@kernel.org>2021-09-13 16:36:16 -0700
commited60ad733aa49b70720c9d8dded1b18374ec5022 (patch)
treec76113ef5f9fbea46ca3cbe609ba5a55162b64fb /include/linux/overflow.h
parentb3b3cc618ee07f5f4c409e8ca86ac7fbac085ebd (diff)
downloadlinux-ed60ad733aa49b70720c9d8dded1b18374ec5022.tar.gz
linux-ed60ad733aa49b70720c9d8dded1b18374ec5022.tar.bz2
linux-ed60ad733aa49b70720c9d8dded1b18374ec5022.zip
refscale: Warn on individual ref_scale_init() error conditions
When running refscale as a module, any ref_scale_init() issues will be reflected in the error code from modprobe or insmod, as the case may be. However, these error codes are not available when running refscale built-in, for example, when using the kvm.sh script. This commit therefore adds WARN_ON_ONCE() to allow distinguishing ref_scale_init() errors when running refscale built-in. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions