diff options
| author | Sergei Trofimovich <[email protected]> | 2021-04-29 22:53:42 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-04-30 11:20:35 -0700 |
| commit | 5f28bdee7084dc560a3b3154a3345bfd73135ea4 (patch) | |
| tree | c407e2ff64b12c6939c44159bae60de574e9e5fb /tools/perf/scripts/python/bin/export-to-sqlite-report | |
| parent | e3db00b79d74caaf84cd9e1d4927979abfd0d7c9 (diff) | |
ia64: mca: always make IA64_MCA_DEBUG an expression
At least ia64_mca_log_sal_error_record() expects some statement:
static void ia64_mca_log_sal_error_record(int sal_info_type)
{
...
if (irq_safe)
IA64_MCA_DEBUG("CPU %d: SAL log contains %s error record
",
smp_processor_id(),
sal_info_type < ARRAY_SIZE(rec_name) ? rec_name[sal_info_type] : "UNKNOWN");
...
}
Instead of fixing all callers the change expicitly makes IA64_MCA_DEBUG
a non-empty expression.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Sergei Trofimovich <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-report')
0 files changed, 0 insertions, 0 deletions