diff options
author | Eric Auger <[email protected]> | 2020-03-24 09:26:30 -0600 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2020-03-24 09:26:30 -0600 |
commit | 723fe298ad85ad1278bd2312469ad14738953cc6 (patch) | |
tree | b4750c3eee35e81973a39f02c01c658032c7ecd9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 16fbf79b0f83bc752cee8589279f1ebfe57b3b6e (diff) |
vfio: platform: Switch to platform_get_irq_optional()
Since commit 7723f4c5ecdb ("driver core: platform: Add an error
message to platform_get_irq*()"), platform_get_irq() calls dev_err()
on an error. As we enumerate all interrupts until platform_get_irq()
fails, we now systematically get a message such as:
"vfio-platform fff51000.ethernet: IRQ index 3 not found" which is
a false positive.
Let's use platform_get_irq_optional() instead.
Signed-off-by: Eric Auger <[email protected]>
Cc: [email protected] # v5.3+
Reviewed-by: Andre Przywara <[email protected]>
Tested-by: Andre Przywara <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions