]> 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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 19 Sep 2017 10:07:39 +0000 (12:07 +0200)
commitd9eb4b486cf7e33c62eb3d88d0b30c94732f52e6
tree418ae7ea5285457dff516a26ab5fd29af39313dd
parente179e7133ca80d2ae4f989b1323e7b1d874681bf
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