aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHao Li <[email protected]>2020-07-29 11:44:36 +0800
committerVishal Verma <[email protected]>2020-07-30 18:14:33 -0600
commit49688e654e48ae176b5bfda33d2416b68e607ce8 (patch)
tree97ee93c13b240fea45696a9683cdb19c310912a8 /tools/perf/scripts/python/export-to-sqlite.py
parentcbeb0310cfda7b6148f417e36b96539101d7f449 (diff)
dax: Fix incorrect argument passed to xas_set_err()
The argument passed to xas_set_err() to indicate an error should be negative. Otherwise, xas_error() will return 0, and grab_mapping_entry() will return the found entry instead of 'SIGBUS' when the entry is not in fact valid. This would result in problems in subsequent code paths. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Pankaj Gupta <[email protected]> Signed-off-by: Hao Li <[email protected]> Signed-off-by: Vishal Verma <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions