aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines
diff options
context:
space:
mode:
authorThierry Escande <[email protected]>2018-06-13 19:18:40 +0200
committerPetr Mladek <[email protected]>2018-06-15 15:08:05 +0200
commitce041c43f22298485122bab15c14d062383fbc67 (patch)
treeaed9d5d4dd995be79635a86ecd0e2e29cfc2b793 /tools/perf/util/scripting-engines
parentd75ae5bdf2353e5c6a1f83da5f6f2d31582f09a3 (diff)
lib/test_printf.c: accept "ptrval" as valid result for plain 'p' tests
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 undefined time, both plain 'p' tests now accept the strings "(____ptrval____)" or "(ptrval)" as a valid result and print a warning message. Link: http://lkml.kernel.org/r/[email protected] Fixes: ad67b74d2469d9b82 ("printk: hash addresses printed with %p") To: Andrew Morton <[email protected]> To: David Miller <[email protected]> Cc: Rasmus Villemoes <[email protected]> Cc: "Tobin C . Harding" <[email protected]> Cc: [email protected] Signed-off-by: Thierry Escande <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines')
0 files changed, 0 insertions, 0 deletions