Re: [PATCH v3 05/11] KVM: page track: introduce kvm_page_track_{add,remove}_page
From: Paolo Bonzini
Date: Fri Feb 19 2016 - 06:38:09 EST
On 14/02/2016 12:31, Xiao Guangrong wrote:
> +static bool check_mode(enum kvm_page_track_mode mode)
> +{
> + if (mode < 0 || mode >= KVM_PAGE_TRACK_MAX)
> + return false;
> +
> + return true;
> +}
Oops, forgot about this; please rename to page_track_mode_is_valid and
make it "static inline".
Paolo