]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: android: timed_output: fix use after free of dev
authorYi Zhang <yizhang@marvell.com>
Tue, 3 Jun 2014 13:03:08 +0000 (21:03 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Jun 2014 00:33:37 +0000 (17:33 -0700)
commitb28e7d5807051184270c40d4bc48db947189f107
tree93fbb71db5a586fdce1c772ca1f6068b506a3f77
parent88513624be0489b36c04cd3220a7e11f5e2a11fe
staging: android: timed_output: fix use after free of dev

tdev->dev has been freed in device_destroy(), it's not right to
use dev_set_drvdata() after that;

Signed-off-by: Yi Zhang <yizhang@marvell.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/timed_output.c