[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VeXGT3KG9HXQstFJVyHFO8o64Dk0LSo43FzyR0SvPUONg@mail.gmail.com>
Date: Wed, 13 Jun 2018 14:22:49 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Thierry Escande <thierry.escande@...aro.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
David Miller <davem@...emloft.net>,
Petr Mladek <pmladek@...e.com>,
Rasmus Villemoes <linux@...musvillemoes.dk>,
"Tobin C . Harding" <me@...in.cc>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] lib/test_printf.c: call wait_for_random_bytes() before
plain %p tests
On Wed, Jun 13, 2018 at 12:29 PM, Thierry Escande
<thierry.escande@...aro.org> wrote:
> If the test_printf module is loaded before the crng is initialized, the
> plain 'p' tests will fail because the printed address will not be hashed
> and the buffer will contain "(ptrval)" instead.
> Since we cannot wait for the crng to be initialized for an undefined
> time, both plain 'p' tests now accept the string "(ptrval)" as a valid
> result and print a warning message.
There are two possibilities:
1. (ptrval) for 32-bit case
2. (____ptrval____) for 64-bit case.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists