aboutsummaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorVipin Sharma <[email protected]>2023-01-11 10:34:08 -0800
committerPaolo Bonzini <[email protected]>2023-01-22 04:10:24 -0500
commitc2c46b10d52624376322b01654095a84611c7e09 (patch)
treeb8c2b46498de59ec690488d6e203d561c94357be /include/linux/overflow.h
parenta44b331614e6f7e63902ed7dff7adc8c85edd8bc (diff)
KVM: selftests: Make reclaim_period_ms input always be positive
reclaim_period_ms used to be positive only but the commit 0001725d0f9b ("KVM: selftests: Add atoi_positive() and atoi_non_negative() for input validation") incorrectly changed it to non-negative validation. Change validation to allow only positive input. Fixes: 0001725d0f9b ("KVM: selftests: Add atoi_positive() and atoi_non_negative() for input validation") Signed-off-by: Vipin Sharma <[email protected]> Reported-by: Ben Gardon <[email protected]> Reviewed-by: Ben Gardon <[email protected]> Reviewed-by: Sean Christopherson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions