mirror of https://github.com/torvalds/linux.git
In tpmi_sst_dev_remove(), tpmi_sst is dereferenced after being freed.
Fix this by reordering the kfree() post the dereference.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| isst_if_common.c | ||
| isst_if_common.h | ||
| isst_if_mbox_msr.c | ||
| isst_if_mbox_pci.c | ||
| isst_if_mmio.c | ||
| isst_tpmi.c | ||
| isst_tpmi_core.c | ||
| isst_tpmi_core.h | ||