diff options
author | 2014-10-21 16:50:21 +0800 | |
---|---|---|
committer | 2014-11-05 20:12:02 -0800 | |
commit | 7e12e675c17982a8b3cc91314a68f4c4d1bceb92 (patch) | |
tree | fac5e093a77324a06830339e4ca8d2dee0d4fabb /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | tty/vt: don't set font mappings on vc not supporting this (diff) | |
download | linux-dev-7e12e675c17982a8b3cc91314a68f4c4d1bceb92.tar.xz linux-dev-7e12e675c17982a8b3cc91314a68f4c4d1bceb92.zip |
serial: of-serial: fix uninitialized kmalloc variable
The info pointer points to an uninitialized kmalloced space.
If a device doesn't have clk property, then info->clk may
have unpredicated value and cause call trace. So use kzalloc
to make sure it is NULL initialized.
Signed-off-by: Jingchang Lu <jingchang.lu@freescale.com>
Acked-by: Arnd Bergmann <arnd@arndb.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions