tpm: check the chip reference before using it
If a driver calls tpm_dev_vendor_release for a device already released then the driver will oops. Signed-off-by: NAndi Shyti <andi.shyti@gmail.com> Signed-off-by: NPeter Huewe <peterhuewe@gmx.de> Signed-off-by: NRajiv Andrade <srajiv@linux.vnet.ibm.com>
Showing
想要评论请 注册 或 登录