]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
Protect __release_resource against resources without parents
authorPhil Elwell <phil@raspberrypi.org>
Fri, 13 Mar 2015 12:43:36 +0000 (12:43 +0000)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 11 Aug 2017 10:57:52 +0000 (12:57 +0200)
commit7aae92ba0e6dd273fe737e4b5fbbf186d83c23d0
tree45ea198238c9024c8af55346790eab0ab9fc09ff
parenta92230be15cbf99552ffc0ea040b735030ec7c4c
Protect __release_resource against resources without parents

Without this patch, removing a device tree overlay can crash here.

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
kernel/resource.c