summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorbui duc phuc <phucduc.bui@gmail.com>2026-08-13 12:34:04 +0700
committerUlf Hansson <ulfh@kernel.org>2026-09-08 17:26:33 +0200
commitbcd0398aaa2c302d03fc11b485665ea2aed29fcb (patch)
treef2e41c48757ac6af838effe2d6692314b2fab4a3 /tools/perf/scripts/python/export-to-postgresql.py
parent31a43e75e2d4b2b21fbd825a26550cbf6a3ba7b1 (diff)
mmc: davinci: Handle optional IRQ return value correctly
host->sdio_irq is assigned from platform_get_irq_optional(), which returns a positive IRQ number on success or a negative error code on failure. Therefore, 0 is not a possible return value from this API. Check for a positive IRQ number before requesting the SDIO IRQ instead of treating zero as a valid IRQ. Signed-off-by: bui duc phuc <phucduc.bui@gmail.com> Signed-off-by: Ulf Hansson <ulfh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions