aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2016-07-20 11:11:06 +0100
committerMatt Fleming <[email protected]>2016-09-09 16:08:44 +0100
commitac0e94b63e65f9c6d2f3c49107118e2228236db4 (patch)
tree0b6963a5f0393a4e817961a42337d30dde435ee2 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentdce48e351c0d42014e5fb16ac3eb099e11b7e716 (diff)
x86/efi: Initialize status to ensure garbage is not returned on small size
Although very unlikey, if size is too small or zero, then we end up with status not being set and returning garbage. Instead, initializing status to EFI_INVALID_PARAMETER to indicate that size is invalid in the calls to setup_uga32 and setup_uga64. Signed-off-by: Colin Ian King <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: Matt Fleming <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions