diff options
author | 2014-11-29 17:48:34 -0500 | |
---|---|---|
committer | 2014-12-02 16:45:24 -0800 | |
commit | 5f18611038f9c9d503318490069b730c942523f8 (patch) | |
tree | 1808c89ed4acb0a157774adde6a453c7b4156ddb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: rtl8723au: Hal_InitPGData() avoid unnecessary typecasts (diff) | |
download | wireguard-linux-5f18611038f9c9d503318490069b730c942523f8.tar.xz wireguard-linux-5f18611038f9c9d503318490069b730c942523f8.zip |
staging: clocking-wizard: check for a valid clk_name pointer
The clk_name gets the return value from kasprintf (part of which does the
allocation of the returned buffer). So check the return pointer
before using it for clk_register_fixed_factor.
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Reviewed-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions