[GIT PULL] Device properties framework fix for v5.13-rc8

From: Rafael J. Wysocki
Date: Fri Jun 25 2021 - 13:09:35 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
devprop-5.13-rc8

with top-most commit 5dca69e26fe97f17d4a6cbd6872103c868577b14

software node: Handle software node injection to an existing device properly

on top of commit 13311e74253fe64329390df80bed3f07314ddd61

Linux 5.13-rc7

to receive a device properties framework fix for 5.13-rc8.

This fixes a NULL pointer dereference introduced by a recent commit
and occurring when device_remove_software_node() is used with a device
that has never been registered (Heikki Krogerus).

Thanks!


---------------

Heikki Krogerus (1):
software node: Handle software node injection to an existing
device properly

---------------

drivers/base/swnode.c | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)