diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-02-14 11:44:18 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-02-15 10:39:25 +0300 |
commit | d82b9e0887e69d9060c854b079a3a5024788f7cb (patch) | |
tree | 56e73a4e1f84fa9c59de78ae222fc44cef080136 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8574b5b47610df22048adcdabf318ca983024f28 (diff) | |
download | linux-d82b9e0887e69d9060c854b079a3a5024788f7cb.tar.xz |
gpio: use srcu_dereference() with SRCU-protected pointers
Lockdep with CONFIG_PROVE_RCU enabled reports false positives about
suspicious rcu_dereference() usage. Let's silence it by using
srcu_dereference() which is the correct helper with SRCU.
Fixes: d83cee3d2bb1 ("gpio: protect the pointer to gpio_chip in gpio_device with SRCU")
Reported-by: kernel test robot <oliver.sang@intel.com>
Closes: https://lore.kernel.org/oe-lkp/202402122234.d85cca9b-lkp@intel.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Acked-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions