aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2017-10-31 20:28:09 +0000
committerPaolo Bonzini <[email protected]>2017-11-02 17:23:18 +0000
commit008755209ce1ae86c0f562a44810b57d9ea31a71 (patch)
treedc6c407efacaa82779e14863d333bd1b079972bf /net/switchdev/switchdev.c
parentMerge branch 'kvm-ppc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff)
downloadkernel-008755209ce1ae86c0f562a44810b57d9ea31a71.tar.gz
kernel-008755209ce1ae86c0f562a44810b57d9ea31a71.zip
kvm: Return -ENODEV from update_persistent_clock
kvm does not support setting the RTC, so the correct result is -ENODEV. Returning -1 will cause sync_cmos_clock to keep trying to set the RTC every second. Signed-off-by: Jason Gunthorpe <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions