Skip to content

ACPI table release for TPM drivers

Hanjun Guo linux-integrity lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesIn review
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

Add Cc: [email protected] to the commit message, and cc LKML for all the patches, suggested by Jarkko.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tpm: acpi: Call acpi_put_table() to fix memory leakdrivers/char/tpm/eventlog/acpi.c+9 -31 reply
2/3tpm: tpm_crb: Add the missed acpi_put_table() to fix memory leakdrivers/char/tpm/tpm_crb.c+20 -91 reply
3/3tpm: tpm_tis: Add the missed acpi_put_table() to fix memory leakdrivers/char/tpm/tpm_tis.c+5 -41 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJarkko Sakkinen
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] ACPI table release for TPM drivers

The ACPI table should be released to avoid the memory leak, here are patches for TPM drivers to add the missed acpi_put_table(), which will fix the memory leak.

v2:
Add Cc: [email protected] to the commit message, and cc LKML for all the patches, suggested by Jarkko.

Hanjun Guo (3):
tpm: acpi: Call acpi_put_table() to fix memory leak
tpm: tpm_crb: Add the missed acpi_put_table() to fix memory leak
tpm: tpm_tis: Add the missed acpi_put_table() to fix memory leak

 drivers/char/tpm/eventlog/acpi.c | 12 +++++++++---
 drivers/char/tpm/tpm_crb.c       | 29 ++++++++++++++++++++---------
 drivers/char/tpm/tpm_tis.c       |  9 +++++----
 3 files changed, 34 insertions(+), 16 deletions(-)
Signature · 1 line
1.7.12.4