summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2019-03-08 21:37:44 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-19 17:37:44 +0300
commitc5cbc78acf693f5605d4a85b1327fa7933daf092 (patch)
tree1401da4a7db4f403d7976379de985bbf0c9374d8 /tools/perf/scripts/python/exported-sql-viewer.py
parentac0cdb3d990108df795b676cd0d0e65ac34b2273 (diff)
downloadlinux-c5cbc78acf693f5605d4a85b1327fa7933daf092.tar.xz
tty: serial: qcom_geni_serial: Initialize baud in qcom_geni_console_setup
When building with -Wsometimes-uninitialized, Clang warns: drivers/tty/serial/qcom_geni_serial.c:1079:6: warning: variable 'baud' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] It's not wrong; when options is NULL, baud has no default value. Use 9600 as that is a sane default. Link: https://github.com/ClangBuiltLinux/linux/issues/395 Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions