aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLee Jones <[email protected]>2020-06-25 09:39:11 +0100
committerLee Jones <[email protected]>2020-07-06 08:32:05 +0100
commitec46855df33973ac6ed646e26cc8977b97cc7cd0 (patch)
tree61b441e8d1865508a6d7ac68e7edbe2cb4cfc386 /tools/perf/scripts/python/export-to-postgresql.py
parent768c1e38dc43b1fc43f73409f58c58344f243892 (diff)
mfd: sprd-sc27xx-spi: Fix-up bogus IRQ register offset and mask setting
'i / pdata->num_irqs' always equates to 0 and 'BIT(i % pdata->num_irqs)' always ends up being BIT(i) here, so make that clearer in the code. If the code base needs to support more than 32 IRQs in the future, this will have to be reworked, but lets just keep it simple for as long as we can. This fixes the following W=1 warning: drivers/mfd/sprd-sc27xx-spi.c:255 sprd_pmic_probe() debug: sval_binop_unsigned: divide by zero Cc: Orson Zhai <[email protected]> Cc: Chunyan Zhang <[email protected]> Suggested-by: Baolin Wang <[email protected]> Signed-off-by: Lee Jones <[email protected]> Reviewed-by: Baolin Wang <[email protected]> Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions