diff options
author | Zhengyuan Liu <[email protected]> | 2019-06-12 14:14:46 +0800 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2019-07-09 14:08:41 -0400 |
commit | d4e6e83651777224c0259e01dde5eb078f9e6b1d (patch) | |
tree | 123ff406b79daba7e310c37f0ca20e6cd8414dfd /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 9c81c99b242f1241e18573d1ce29f7479c168e38 (diff) |
dm log writes: use struct_size() to calculate size of pending_block
Use struct_size() to avoid open-coded equivalent that is prone to a type
mistake.
Signed-off-by: Zhengyuan Liu <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions