driver-core: Fix possible null reference in subsys_interface_unregister
authorJonghwan Choi <jhbird.choi@samsung.com>
Sat, 14 Jan 2012 02:06:03 +0000 (11:06 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Jan 2012 23:59:19 +0000 (15:59 -0800)
commit2b31594a9523449b168946725689d039c80204de
tree001cae76042df01ea712e198b62a533a0a6886a5
parentc56d8a7362665d165ba992b6b7a8d6c13a26eafc
driver-core: Fix possible null reference in subsys_interface_unregister

Check if the sif is not NULL before de-referencing it

Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/bus.c
This page took 0.02807 seconds and 5 git commands to generate.