aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-04-18 10:15:19 +0200
committerStephen Boyd <sboyd@codeaurora.org>2017-04-19 10:45:12 -0700
commit8d9bdc46c780325414af7f09827c78c69f9b1e3d (patch)
treefb0894a64de125001a09da0180443f782e223f05 /tools/perf/util/scripting-engines/trace-event-python.c
parent7b9bae176a5c63fb467149174c11a48f3b3c5947 (diff)
downloadlinux-8d9bdc46c780325414af7f09827c78c69f9b1e3d.tar.gz
linux-8d9bdc46c780325414af7f09827c78c69f9b1e3d.tar.bz2
linux-8d9bdc46c780325414af7f09827c78c69f9b1e3d.zip
clk: hisilicon: Use devm_kmalloc_array() in hisi_clk_alloc()
* A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "devm_kmalloc_array". This issue was detected by using the Coccinelle software. * Replace the specification of a data type by a pointer dereference to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions