aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorYueHaibing <[email protected]>2020-10-31 11:10:53 +0800
committerJakub Kicinski <[email protected]>2020-11-02 17:19:59 -0800
commit9621618130bf7e83635367c13b9a6ee53935bb37 (patch)
tree497a8051cd10359ac9e0dd217a15aae3d7801393 /tools/perf/scripts/python/exported-sql-viewer.py
parent1d8504937478fdc2f3ef2174a816fd3302eca882 (diff)
sfp: Fix error handing in sfp_probe()
gpiod_to_irq() never return 0, but returns negative in case of error, check it and set gpio_irq to 0. Fixes: 73970055450e ("sfp: add SFP module support") Signed-off-by: YueHaibing <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions