]> git.proxmox.com Git - mirror_ubuntu-artful-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)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Fri, 9 Mar 2018 15:20:47 +0000 (12:20 -0300)
commiteed1f348c70c6848452b8e156a4f63dbb5fc9049
tree06591d25edcd893bc3fe7e1bbf80dd288fd86ed3
parent4405620fbd4082da229278d8731a2ea8a02a2edb
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