lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 6 Sep 2021 14:24:13 +0200
From:   Paolo Bonzini <pbonzini@...hat.com>
To:     Peter Xu <peterx@...hat.com>, linux-kernel@...r.kernel.org,
        kvm@...r.kernel.org
Cc:     kernel test robot <lkp@...el.com>
Subject: Re: [PATCH v2] KVM: Drop unused kvm_dirty_gfn_invalid()

On 02/09/21 01:09, Peter Xu wrote:
> Drop the unused function as reported by test bot.
> 
> Reported-by: kernel test robot <lkp@...el.com>
> Signed-off-by: Peter Xu <peterx@...hat.com>
> --
> v2:
> - Fix the subject that points to the right function; the copy-paste failed.
> ---
>   virt/kvm/dirty_ring.c | 5 -----
>   1 file changed, 5 deletions(-)
> 
> diff --git a/virt/kvm/dirty_ring.c b/virt/kvm/dirty_ring.c
> index 7aafefc50aa7..88f4683198ea 100644
> --- a/virt/kvm/dirty_ring.c
> +++ b/virt/kvm/dirty_ring.c
> @@ -91,11 +91,6 @@ static inline void kvm_dirty_gfn_set_dirtied(struct kvm_dirty_gfn *gfn)
>   	gfn->flags = KVM_DIRTY_GFN_F_DIRTY;
>   }
>   
> -static inline bool kvm_dirty_gfn_invalid(struct kvm_dirty_gfn *gfn)
> -{
> -	return gfn->flags == 0;
> -}
> -
>   static inline bool kvm_dirty_gfn_harvested(struct kvm_dirty_gfn *gfn)
>   {
>   	return gfn->flags & KVM_DIRTY_GFN_F_RESET;
> 

Queued, thanks.

Paolo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ