Patch "tpm_tis: fix the error handling of init_tis()" has been added to the 4.10-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
tpm_tis: fix the error handling of init_tis()
to the 4.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
tpm_tis-fix-the-error-handling-of-init_tis.patch
and it can be found in the queue-4.10 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
5939eaf4f9d432586dd2cdeea778506471e8088eMon Sep 17 00:00:00 2001
From: Wei Yongjun <[email protected]>
Date: Tue, 7 Feb 2017 15:51:47 +0000
Subject: tpm_tis: fix the error handling of init_tis()
From: Wei Yongjun <[email protected]>
commit 5939eaf4f9d432586dd2cdeea778506471e8088e upstream.
Add the missing platform_driver_unregister() and remove the duplicate platform_device_unregister(force_pdev) in the error handling case.
--- drivers/char/tpm/tpm_tis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/char/tpm/tpm_tis.c +1 -1
@@ -432,7 +432,7 @@ err_pnp:acpi_bus_unregister_driver (&tis_acpi_driver); err_acpi:#endif -platform_device_unregister (force_pdev); +platform_driver_unregister (&tis_drv); err_platform:if (force_pdev)platform_device_unregister (force_pdev);
Patches currently in stable-queue which might be from [email protected] are
queue-4.10/tpm_tis-fix-the-error-handling-of-init_tis.patch