On Wed, Jan 11, 2023, Vipin Sharma wrote: > reclaim_period_ms use 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 <vipinsh@xxxxxxxxxx> > Reported-by: Ben Gardon <bgardon@xxxxxxxxxx> > Reviewed-by: Ben Gardon <bgardon@xxxxxxxxxx> > --- Reviewed-by: Sean Christopherson <seanjc@xxxxxxxxxx>