aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2024-02-14 09:44:16 +0100
committerBartosz Golaszewski <[email protected]>2024-02-15 08:39:13 +0100
commit815a1b5a6da4bedb29a1e15a94a042e525b0ba96 (patch)
treed10e5a4818c8613bfa624f3b66604d9b5ea8d774 /tools/perf/scripts/python/export-to-postgresql.py
parente3f927f2b0a23902923c768f07e274a1373216f3 (diff)
gpio: take the SRCU read lock in gpiod_hog()
gpiod_hog() may be called without the gpio_device SRCU read lock taken so we need to do it here as well. It's alright if someone else is already holding the lock as SRCU read critical sections can be nested. Fixes: d83cee3d2bb1 ("gpio: protect the pointer to gpio_chip in gpio_device with SRCU") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-lkp/[email protected] Signed-off-by: Bartosz Golaszewski <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Acked-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions