diff options
author | Lino Sanfilippo <l.sanfilippo@kunbus.com> | 2024-02-01 14:36:45 +0300 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@iki.fi> | 2024-03-12 01:26:05 +0300 |
commit | b7ab4bbd0188f3985b821fa09456b11105a8dedf (patch) | |
tree | 3bde2dd273feb8abe3ac47fc62f34a88e5b94905 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d5166a49508df7a60a1c437b7a33cd688f478055 (diff) | |
download | linux-b7ab4bbd0188f3985b821fa09456b11105a8dedf.tar.xz |
tpm,tpm_tis: Avoid warning splat at shutdown
If interrupts are not activated the work struct 'free_irq_work' is not
initialized. This results in a warning splat at module shutdown.
Fix this by always initializing the work regardless of whether interrupts
are activated or not.
cc: stable@vger.kernel.org
Fixes: 481c2d14627d ("tpm,tpm_tis: Disable interrupts after 1000 unhandled IRQs")
Reported-by: Jarkko Sakkinen <jarkko@kernel.org>
Closes: https://lore.kernel.org/all/CX32RFOMJUQ0.3R4YCL9MDCB96@kernel.org/
Signed-off-by: Lino Sanfilippo <l.sanfilippo@kunbus.com>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions