diff options
author | Lino Sanfilippo <[email protected]> | 2024-02-01 12:36:45 +0100 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2024-03-12 00:26:05 +0200 |
commit | b7ab4bbd0188f3985b821fa09456b11105a8dedf (patch) | |
tree | 3bde2dd273feb8abe3ac47fc62f34a88e5b94905 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | d5166a49508df7a60a1c437b7a33cd688f478055 (diff) |
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: [email protected]
Fixes: 481c2d14627d ("tpm,tpm_tis: Disable interrupts after 1000 unhandled IRQs")
Reported-by: Jarkko Sakkinen <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Lino Sanfilippo <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions