From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> Here are three fixes to some bugs in recent SRCU changes. The first one fixes an actual race condition. The other two just make lockdep happy. Bartosz Golaszewski (3): gpio: take the SRCU read lock in gpiod_hog() gpio: cdev: use correct pointer accessors with SRCU gpio: use rcu_dereference_protected() to make lockdep happy drivers/gpio/gpiolib-cdev.c | 25 ++++++++++++------------- drivers/gpio/gpiolib.c | 23 +++++++++++++++-------- drivers/gpio/gpiolib.h | 4 +++- 3 files changed, 30 insertions(+), 22 deletions(-) -- 2.40.1