diff options
author | Adam Borowski <[email protected]> | 2018-02-04 18:45:21 +0100 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2018-02-08 14:21:41 +0100 |
commit | 3a129cc2151425e5aeb69aeb25fbc994ec738137 (patch) | |
tree | db4b82232e26bfe2df75f7654e524ad321a657e1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ab486bc9a591689f3ac2b6ebc072309371f8f451 (diff) |
vsprintf: avoid misleading "(null)" for %px
Like %pK already does, print "00000000" instead.
This confused people -- the convention is that "(null)" means you tried to
dereference a null pointer as opposed to printing the address.
Link: http://lkml.kernel.org/r/[email protected]
To: Sergey Senozhatsky <[email protected]>
To: Steven Rostedt <[email protected]>
To: [email protected]
Cc: Andrew Morton <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: "Roberts, William C" <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: David Laight <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Signed-off-by: Adam Borowski <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions