Messages in this thread | ![/](/images/icornerl.gif) | | Date | Wed, 11 Jan 2023 21:25:17 +0000 | From | Sean Christopherson <> | Subject | Re: [Patch v2] KVM: selftests: Make reclaim_period_ms input always be positive |
| |
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@google.com> > Reported-by: Ben Gardon <bgardon@google.com> > Reviewed-by: Ben Gardon <bgardon@google.com> > ---
Reviewed-by: Sean Christopherson <seanjc@google.com>
| ![\](/images/icornerr.gif) |