aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPhil Elwell <[email protected]>2023-08-11 16:58:29 +0100
committerJonathan Cameron <[email protected]>2023-09-11 20:12:59 +0100
commit85dfb43bf69281adb1f345dfd9a39faf2e5a718d (patch)
treeb5198f153772fb99e00abfe35587b66eb8de82f6 /tools/perf/scripts/python/export-to-postgresql.py
parent9a85653ed3b9a9b7b31d95a34b64b990c3d33ca1 (diff)
iio: pressure: bmp280: Fix NULL pointer exception
The bmp085 EOC IRQ support is optional, but the driver's common probe function queries the IRQ properties whether or not it exists, which can trigger a NULL pointer exception. Avoid any exception by making the query conditional on the possession of a valid IRQ. Fixes: aae953949651 ("iio: pressure: bmp280: add support for BMP085 EOC interrupt") Signed-off-by: Phil Elwell <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions