aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2015-02-05 20:11:41 +0100
committerBorislav Petkov <bp@suse.de>2015-03-02 20:31:11 +0100
commitf9524e6f5447277e238b419afc3d0712941fa2a5 (patch)
treeb29d83d16599c077b541bf941d594e628cba3611 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentx86/microcode/intel: Check if microcode was found before applying (diff)
downloadwireguard-linux-f9524e6f5447277e238b419afc3d0712941fa2a5.tar.xz
wireguard-linux-f9524e6f5447277e238b419afc3d0712941fa2a5.zip
x86/microcode/intel: Do the mc_saved_src NULL check first
... and only then deref it. Also, shorten some variable names and rename others so as to diminish the ubiquitous presence of the "mc_" prefix everywhere and make it a bit more readable. Use kcalloc so that we don't kfree() uninitialized memory on the unwind path, as suggested by Quentin. Signed-off-by: Borislav Petkov <bp@suse.de> Cc: Quentin Casasnovas <quentin.casasnovas@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions