diff options
author | Jan Beulich <jbeulich@suse.com> | 2024-05-29 15:23:25 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-16 13:51:06 +0200 |
commit | 03f85445bf169f13bb20437b7234e16957380a77 (patch) | |
tree | 6edae5adaf6639db3e371ea733fc0cae5ae95d1a /tools/lib/api/debug-internal.h | |
parent | abeede7011da6c88e83ed260b909c140b8c9c250 (diff) |
tpm_tis: Do *not* flush uninitialized work
commit 0ea00e249ca992adee54dc71a526ee70ef109e40 upstream.
tpm_tis_core_init() may fail before tpm_tis_probe_irq_single() is
called, in which case tpm_tis_remove() unconditionally calling
flush_work() is triggering a warning for .func still being NULL.
Cc: stable@vger.kernel.org # v6.5+
Fixes: 481c2d14627d ("tpm,tpm_tis: Disable interrupts after 1000 unhandled IRQs")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/api/debug-internal.h')
0 files changed, 0 insertions, 0 deletions