diff options
author | Bartosz Golaszewski <[email protected]> | 2024-02-14 09:44:17 +0100 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2024-02-15 08:39:18 +0100 |
commit | 8574b5b47610df22048adcdabf318ca983024f28 (patch) | |
tree | b42bbe23358c85af4b91692d40a64ddbf23b080c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 815a1b5a6da4bedb29a1e15a94a042e525b0ba96 (diff) |
gpio: cdev: use correct pointer accessors with SRCU
We never dereference the chip pointer in character device code so we can
use the lighter rcu_access_pointer() helper. This also makes lockep
happier as it no longer complains about suspicious rcu_dereference()
usage.
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