diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-06-27 12:47:31 +0200 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-07-31 17:02:07 +0530 |
| commit | 351496d6aea664f25cbd6411bf5567210328e419 (patch) | |
| tree | ab3f6dbedfcd3c28fd7ffd604df5f457506b5bce /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 6a7f74525a9964ef3228f6e1d1af261e92964987 (diff) | |
powerpc/pseries/ras: Use struct_size() to simplify fwnmi_get_errinfo()
Now that struct rtas_error_log uses a flexible array member for the
extended log buffer, use struct_size() to calculate the total RTAS error
log size and avoid using the hard-coded header size of 8 bytes.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260627104730.276858-4-thorsten.blum@linux.dev
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
