aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kvm/svm/nested.c
diff options
context:
space:
mode:
authorRandy Dunlap <[email protected]>2022-02-28 14:05:32 -0800
committerRafael J. Wysocki <[email protected]>2022-03-01 18:51:11 +0100
commitba7ffcd4c4da374b0f64666354eeeda7d3827131 (patch)
treebc20ecb6ad428773c0d2b60b5d401d951db41b1c /arch/x86/kvm/svm/nested.c
parent444e1154b2bf0b881b65ba1bba5bc8e691fac04a (diff)
PM: hibernate: fix __setup handler error handling
If an invalid value is used in "resumedelay=<seconds>", it is silently ignored. Add a warning message and then let the __setup handler return 1 to indicate that the kernel command line option has been handled. Fixes: 317cf7e5e85e3 ("PM / hibernate: convert simple_strtoul to kstrtoul") Signed-off-by: Randy Dunlap <[email protected]> Reported-by: Igor Zhbanov <[email protected]> Link: lore.kernel.org/r/[email protected] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'arch/x86/kvm/svm/nested.c')
0 files changed, 0 insertions, 0 deletions