diff options
author | Petr Mladek <[email protected]> | 2019-04-17 13:53:49 +0200 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2019-04-26 16:21:03 +0200 |
commit | 635720ac75a51092b456bed517ff170047883252 (patch) | |
tree | 9f458a2c4488835f3935301a87d976c04d4f2532 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3e5903eb9cff707301712498aed9e34b3e2ee883 (diff) |
vsprintf: Avoid confusion between invalid address and value
We are able to detect invalid values handled by %p[iI] printk specifier.
The current error message is "invalid address". It might cause confusion
against "(efault)" reported by the generic valid_pointer_address() check.
Let's unify the style and use the more appropriate error code description
"(einval)".
Link: http://lkml.kernel.org/r/[email protected]
To: Rasmus Villemoes <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: "Tobin C . Harding" <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Cc: [email protected]
Reviewed-by: Sergey Senozhatsky <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions