diff options
| author | Jay Lu <[email protected]> | 2022-12-06 20:52:33 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2022-12-07 17:16:12 +0000 |
| commit | 87386ee83dc2b241eab69239f9cc82fa7fb4171c (patch) | |
| tree | e23f643cd19762e956b3611a80c13cd2b4eec480 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | ACPI: APEI: EINJ: Fix formatting errors (diff) | |
| download | kernel-87386ee83dc2b241eab69239f9cc82fa7fb4171c.tar.gz kernel-87386ee83dc2b241eab69239f9cc82fa7fb4171c.zip | |
ACPI: APEI: EINJ: Refactor available_error_type_show()
Move error type descriptions into an array and loop over error types
to improve readability and maintainability.
Replace seq_printf() with seq_puts() as recommended by checkpatch.pl.
Signed-off-by: Jay Lu <[email protected]>
Co-developed-by: Ben Cheatham <[email protected]>
Signed-off-by: Ben Cheatham <[email protected]>
Reviewed-by: Tony Luck <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
