Re: [PATCH v3] lib/test_printf.c: accept "ptrval" as valid result for plain 'p' tests

2018-06-15 Thread Petr Mladek
On Wed 2018-06-13 19:18:40, Thierry Escande 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)" or "(ptrval)" instead > (64-bit vs 32-bit). >

Re: [PATCH v3] lib/test_printf.c: accept "ptrval" as valid result for plain 'p' tests

2018-06-15 Thread Petr Mladek
On Wed 2018-06-13 19:18:40, Thierry Escande 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)" or "(ptrval)" instead > (64-bit vs 32-bit). >

Re: [PATCH v3] lib/test_printf.c: accept "ptrval" as valid result for plain 'p' tests

2018-06-14 Thread Andy Shevchenko
On Wed, Jun 13, 2018 at 8:18 PM, Thierry Escande 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)" or "(ptrval)" instead > (64-bit vs 32-bit).

Re: [PATCH v3] lib/test_printf.c: accept "ptrval" as valid result for plain 'p' tests

2018-06-14 Thread Andy Shevchenko
On Wed, Jun 13, 2018 at 8:18 PM, Thierry Escande 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)" or "(ptrval)" instead > (64-bit vs 32-bit).

[PATCH v3] lib/test_printf.c: accept "ptrval" as valid result for plain 'p' tests

2018-06-13 Thread Thierry Escande
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)" or "(ptrval)" instead (64-bit vs 32-bit). Since we cannot wait for the crng to be initialized for an

[PATCH v3] lib/test_printf.c: accept "ptrval" as valid result for plain 'p' tests

2018-06-13 Thread Thierry Escande
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)" or "(ptrval)" instead (64-bit vs 32-bit). Since we cannot wait for the crng to be initialized for an