Re: [kvm-unit-tests PATCH 2/2] s390x: Free allocated page in iep test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25/09/2019 15.56, Janosch Frank wrote:
> Let's also clean up
> 
> Signed-off-by: Janosch Frank <frankja@xxxxxxxxxxxxx>
> ---
>  s390x/iep.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/s390x/iep.c b/s390x/iep.c
> index 7da78a3..55c01ee 100644
> --- a/s390x/iep.c
> +++ b/s390x/iep.c
> @@ -43,6 +43,7 @@ static void test_iep(void)
>  	report_prefix_pop();
>  	unprotect_page(iepbuf, PAGE_ENTRY_IEP);
>  	ctl_clear_bit(0, 20);
> +	free_page(iepbuf);
>  }
>  
>  int main(void)
> 

Reviewed-by: Thomas Huth <thuth@xxxxxxxxxx>



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux