aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2023-03-13 19:18:41 +0100
committerGreg Kroah-Hartman <[email protected]>2023-03-17 15:16:45 +0100
commita010eb8812435015118662b23be799670f641a83 (patch)
tree9216cc00a6e72c45e5c153dc0760f97c05f94f83 /tools/perf/scripts/python/export-to-sqlite.py
parentd2fff09656369d5465585ad2c72d8ba8ada758b5 (diff)
tpm: fix up the tpm_class shutdown_pre pointer when created
Do not wait until long after the struct class has been created to set the shutdown_pre pointer for the tpm_class, assign it right away. This is the only in-kernel offender that tries to modify the device->class pointer contents after it has been assigned to a device, so fix that up by doing the function pointer assignment before it is matched with the device. Because of this, the patch should go through the driver core tree to allow later changes to struct device to be possible. Cc: Peter Huewe <[email protected]> Cc: Jarkko Sakkinen <[email protected]> Cc: Jason Gunthorpe <[email protected]> Cc: [email protected] Reviewed-by: Jarkko Sakkinen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions