diff options
| author | Menglong Dong <[email protected]> | 2021-01-12 02:35:40 -0800 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2021-01-19 10:22:23 +0100 |
| commit | e26124cd5f7099949109608845bba9e9bf96599c (patch) | |
| tree | 5ee8dcfe8afb4698a7ecb7d9cdc7c73975e3fad9 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | e0e0427412d0f374461a5294efc161e00df4be53 (diff) | |
EDAC/xgene: Do not print a failure message to get an IRQ twice
Coccinelle reports a redundant error print in xgene_edac_probe() because
platform_get_irq() will already print an error message when it is unable
to get an IRQ.
Use platform_get_irq_optional() instead which avoids the error message
and keep the driver-specific one.
[ bp: Sanitize commit message. ]
Signed-off-by: Menglong Dong <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Robert Richter <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions