mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <sha@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH master 1/2] test: self: mmu: remap buffer with default attributes on exit
Date: Thu, 25 May 2023 08:50:00 +0200	[thread overview]
Message-ID: <20230525065000.GL17518@pengutronix.de> (raw)
In-Reply-To: <20230523094208.3453910-1-a.fatoum@pengutronix.de>

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@pengutronix.de>
> ---
>  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 |



      parent reply	other threads:[~2023-05-25  6:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-23  9:42 Ahmad Fatoum
2023-05-23  9:42 ` [PATCH master 2/2] test: self: mmu: fix invalid use of __is_defined Ahmad Fatoum
2023-05-25  6:50 ` Sascha Hauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230525065000.GL17518@pengutronix.de \
    --to=sha@pengutronix.de \
    --cc=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox