aboutsummaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2024-02-12 22:39:20 +0100
committerBartosz Golaszewski <[email protected]>2024-02-14 09:34:03 +0100
commitba5c5effe02c4ae06291c7c5e67de8fedad3cf9a (patch)
tree1cccf841eef0e4814810cabc9638272461635209 /tools/perf
parent5e6284444024cf7e7d0ae538df8037a3a5efbec8 (diff)
gpio: initialize descriptor SRCU structure before adding OF-based chips
In certain situations we may end up taking the GPIO descriptor SRCU read lock in of_gpiochip_add() before the SRCU struct is initialized. Move the initialization before the call to of_gpiochip_add(). Fixes: be711caa87c5 ("gpio: add SRCU infrastructure to struct gpio_desc") Fixes: 1f2bcb8c8ccd ("gpio: protect the descriptor label 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]>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions