lkml.org 
[lkml]   [2023]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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>

    \
     
     \ /
      Last update: 2023-03-26 23:36    [W:3.181 / U:0.772 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site