On Thu, Jul 11, 2019 at 07:43:58PM -0400, Joel Fernandes (Google) wrote: > list_for_each_entry_rcu has built-in RCU and lock checking. Make use of > it in driver core. > > Signed-off-by: Joel Fernandes (Google) <joel@xxxxxxxxxxxxxxxxx> > --- > drivers/base/base.h | 1 + > drivers/base/core.c | 10 ++++++++++ > drivers/base/power/runtime.c | 15 ++++++++++----- > 3 files changed, 21 insertions(+), 5 deletions(-) Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>