aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorPankaj Gupta <[email protected]>2019-03-19 11:34:06 +0530
committerGreg Kroah-Hartman <[email protected]>2019-03-28 01:28:24 +0900
commit4b0a2c5ff7215206ea6135a405f17c5f6fca7d00 (patch)
treec1596a6330ad86f7b62da91fe8f82bf516aeb6f7 /tools/perf/util/c++/clang.cpp
parent67fbfc3943e03464541d2cbe8ff8ff77cfe7fe93 (diff)
virtio_console: initialize vtermno value for ports
For regular serial ports we do not initialize value of vtermno variable. A garbage value is assigned for non console ports. The value can be observed as a random integer with [1]. [1] vim /sys/kernel/debug/virtio-ports/vport*p* This patch initialize the value of vtermno for console serial ports to '1' and regular serial ports are initiaized to '0'. Reported-by: [email protected] Signed-off-by: Pankaj Gupta <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions