aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohn Ogness <[email protected]>2022-11-16 17:27:35 +0106
committerPetr Mladek <[email protected]>2022-12-02 11:25:01 +0100
commitde61a1a3a08307103d4ccfe59724bc05570e5abd (patch)
tree08a617bee295bbaec5fcc2be527b67e9a3b81c95 /tools/perf/scripts/python
parent452b9b24754044eced1508f9090611f3d9aa4ca5 (diff)
tty: nfcon: use console_is_registered()
Currently CON_ENABLED is being (mis)used to identify if the console has been registered. This is not reliable because it can be set even though registration failed or it can be unset, even though the console is registered. Use console_is_registered() instead. Signed-off-by: John Ogness <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions