summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorSalah Triki <salah.triki@gmail.com>2025-08-18 10:27:30 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-08-18 19:22:18 +0100
commit43c0f6456f801181a80b73d95def0e0fd134e1cc (patch)
tree74e035cfd703aeac46e3cf6c37a211d4494435a5 /tools/perf/util/scripting-engines/trace-event-python.c
parent433b99e922943efdfd62b9a8e3ad1604838181f2 (diff)
iio: pressure: bmp280: Use IS_ERR() in bmp280_common_probe()
`devm_gpiod_get_optional()` may return non-NULL error pointer on failure. Check its return value using `IS_ERR()` and propagate the error if necessary. Fixes: df6e71256c84 ("iio: pressure: bmp280: Explicitly mark GPIO optional") Signed-off-by: Salah Triki <salah.triki@gmail.com> Reviewed-by: David Lechner <dlechner@baylibre.com> Link: https://patch.msgid.link/20250818092740.545379-2-salah.triki@gmail.com Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions