summaryrefslogtreecommitdiff
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-05-29 15:23:25 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-06-16 13:47:41 +0200
commitb54d24eb4a67ba9534f14b014756246ef1f704d1 (patch)
tree868c96332d83f9f152b4fb4f63c1b0ccd76b3486 /drivers/cpufreq
parent19e85d939001946671643f4c16e1de8c633a6ce0 (diff)
downloadlinux-b54d24eb4a67ba9534f14b014756246ef1f704d1.tar.gz
linux-b54d24eb4a67ba9534f14b014756246ef1f704d1.tar.bz2
linux-b54d24eb4a67ba9534f14b014756246ef1f704d1.zip
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 'drivers/cpufreq')
0 files changed, 0 insertions, 0 deletions