Re: [PATCH master 1/2] test: self: mmu: remap buffer with default attributes on exit

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

 



On Tue, May 23, 2023 at 11:42:07AM +0200, Ahmad Fatoum wrote:
> For inspection with mmuinfo, I had inserted a return before remapping
> with default attributes. Drop it, so we can test that default attributes
> work and to free the memory allocated.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
> ---
>  test/self/mmu.c | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/test/self/mmu.c b/test/self/mmu.c
> index ee6c1cd45e7e..48515b30aeb8 100644
> --- a/test/self/mmu.c
> +++ b/test/self/mmu.c
> @@ -142,7 +142,6 @@ static void test_remap(void)
>  	}
>  
>  	expect_success(ret, "asserting mirroring after remap (virt += 4K)");
> -	return;
>  
>  	ret = remap_range(buffer, SZ_8M, MAP_DEFAULT);
>  	expect_success(ret, "remapping buffer with default attrs");
> -- 
> 2.39.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux