aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorLuca Stefani <[email protected]>2022-12-22 14:10:49 +0100
committerKees Cook <[email protected]>2022-12-23 10:34:25 -0800
commitbeca3e311a49cd3c55a056096531737d7afa4361 (patch)
tree8a921d440f1fcb64f4caeef3414c43e590f84729 /tools/perf/scripts/python/syscall-counts.py
parent2f4fec5943407318b9523f01ce1f5d668c028332 (diff)
pstore: Properly assign mem_type property
If mem-type is specified in the device tree it would end up overriding the record_size field instead of populating mem_type. As record_size is currently parsed after the improper assignment with default size 0 it continued to work as expected regardless of the value found in the device tree. Simply changing the target field of the struct is enough to get mem-type working as expected. Fixes: 9d843e8fafc7 ("pstore: Add mem_type property DT parsing support") Cc: [email protected] Signed-off-by: Luca Stefani <[email protected]> Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions