summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-02-14 11:52:48 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-02-15 10:40:40 +0300
commitbe91c19e47d1b9bf1ebd7ec4a859a50a53e54882 (patch)
tree4a3afcab53c3877a72740b0487b1d3ce88016bc1 /tools/perf/scripts/python/export-to-postgresql.py
parent0d7fa0eda4e3ffe1b7ebc73b6ef81298bddda649 (diff)
downloadlinux-be91c19e47d1b9bf1ebd7ec4a859a50a53e54882.tar.xz
gpio: sysfs: fix inverted pointer logic
The logic is inverted, we want to return if the chip *IS* NULL. Fixes: d83cee3d2bb1 ("gpio: protect the pointer to gpio_chip in gpio_device with SRCU") Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Closes: https://lore.kernel.org/linux-gpio/15671341-0b29-40e0-b487-0a4cdc414d8e@moroto.mountain/ Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions