aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorWen Yang <[email protected]>2019-05-09 16:08:26 -0500
committerGreg Kroah-Hartman <[email protected]>2019-05-24 20:32:12 +0200
commitf5dd87326fefe42a4b1a4b1a1a695060c33a88d6 (patch)
treeb1fc2e5f2a388c40275d4e853a510a504308805e /tools/perf/scripts/python/export-to-sqlite.py
parent02bd610e858d764fb32ebfa123083fdbadd88a08 (diff)
fpga: stratix10-soc: fix use-after-free on s10_init()
The refcount of fw_np has already been decreased by of_find_matching_node() so it shouldn't be used anymore. This patch adds an of_node_get() before of_find_matching_node() to avoid the use-after-free problem. Fixes: e7eef1d7633a ("fpga: add intel stratix10 soc fpga manager driver") Signed-off-by: Wen Yang <[email protected]> Cc: Alan Tull <[email protected]> Cc: Moritz Fischer <[email protected]> Cc: Nicolas Saenz Julienne <[email protected]> Cc: [email protected] Cc: [email protected] Reviewed-by: Moritz Fischer <[email protected]> Reviewed-by: Nicolas Saenz Julienne <[email protected]> Acked-by: Alan Tull <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions