From: Vladimir Murzin <vladimir.murzin@arm.com>
To: David Rientjes <rientjes@google.com>
Cc: "linux-mm@kvack.org" <linux-mm@kvack.org>,
"akpm@linux-foundation.org" <akpm@linux-foundation.org>,
"leon@leon.nu" <leon@leon.nu>
Subject: Re: [PATCH v2 2/3] memtest: cleanup log messages
Date: Thu, 16 Jul 2015 11:19:52 +0100 [thread overview]
Message-ID: <55A78548.1070603@arm.com> (raw)
In-Reply-To: <alpine.DEB.2.10.1507151655440.9230@chino.kir.corp.google.com>
On 16/07/15 00:56, David Rientjes wrote:
> On Tue, 14 Jul 2015, Vladimir Murzin wrote:
>
>> - prefer pr_info(... to printk(KERN_INFO ...
>> - use %pa for phys_addr_t
>> - use cpu_to_be64 while printing pattern in reserve_bad_mem()
>>
>> Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
>
> Acked-by: David Rientjes <rientjes@google.com>
>
> Not sure why you changed the whitespace in reserve_bad_mem() though.
>
>
I was changed by accident, thanks for pointing it out!
Andrew, could you apply the following fixup, please?
---8<---
diff --git a/mm/memtest.c b/mm/memtest.c
index 332facd..4b4f36b 100644
--- a/mm/memtest.c
+++ b/mm/memtest.c
@@ -26,7 +26,7 @@ static u64 patterns[] __initdata = {
static void __init reserve_bad_mem(u64 pattern, phys_addr_t start_bad,
phys_addr_t end_bad)
{
- pr_info("%016llx bad mem addr %pa - %pa reserved\n",
+ pr_info(" %016llx bad mem addr %pa - %pa reserved\n",
cpu_to_be64(pattern), &start_bad, &end_bad);
memblock_reserve(start_bad, end_bad - start_bad);
}
--->8---
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2015-07-16 10:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-14 8:40 [PATCH v2 0/3] memtest cleanups Vladimir Murzin
2015-07-14 8:40 ` [PATCH v2 1/3] memtest: use kstrtouint instead of simple_strtoul Vladimir Murzin
2015-07-15 23:55 ` David Rientjes
2015-07-14 8:40 ` [PATCH v2 2/3] memtest: cleanup log messages Vladimir Murzin
2015-07-15 23:56 ` David Rientjes
2015-07-16 10:19 ` Vladimir Murzin [this message]
2015-07-14 8:40 ` [PATCH v2 3/3] memtest: remove unused header files Vladimir Murzin
2015-07-16 0:09 ` David Rientjes
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=55A78548.1070603@arm.com \
--to=vladimir.murzin@arm.com \
--cc=akpm@linux-foundation.org \
--cc=leon@leon.nu \
--cc=linux-mm@kvack.org \
--cc=rientjes@google.com \
/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