linux-stable/drivers/char
Lino Sanfilippo 4777bf1093 tpm,tpm_tis: Avoid warning splat at shutdown
[ Upstream commit b7ab4bbd01 ]

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: 481c2d1462 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-03 15:11:24 +02:00
..
agp asm-generic updates for v6.7 2023-11-01 15:28:33 -10:00
hw_random hwrng: starfive - Fix dev_err_probe return error 2024-02-05 20:16:46 +00:00
ipmi Pull request for IPMI 2023-11-02 15:01:33 -10:00
mwave
tpm tpm,tpm_tis: Avoid warning splat at shutdown 2024-04-03 15:11:24 +02:00
xilinx_hwicap char: xilinx_hwicap: Fix NULL vs IS_ERR() bug 2024-03-26 18:18:52 -04:00
xillybus char: xillybus: make XILLYBUS_OF depend on HAS_IOMEM 2023-08-04 15:39:39 +02:00
Kconfig arch: Remove Itanium (IA-64) architecture 2023-09-11 08:13:17 +00:00
Makefile arch: Remove Itanium (IA-64) architecture 2023-09-11 08:13:17 +00:00
adi.c
apm-emulation.c
applicom.c applicom: Fix PCI device refcount leak in applicom_init() 2023-01-20 13:05:39 +01:00
applicom.h
bsr.c char: Explicitly include correct DT includes 2023-07-30 18:15:27 +02:00
ds1620.c
dsp56k.c dsp56k: make dsp56k_class a static const structure 2023-06-23 10:27:08 +02:00
dtlk.c
hangcheck-timer.c
hpet.c Char/Misc and other driver changes for 6.7-rc1 2023-11-03 14:51:08 -10:00
lp.c char: lp: make lp_class a static const structure 2023-06-23 10:27:11 +02:00
mem.c Char/Misc and other driver changes for 6.7-rc1 2023-11-03 14:51:08 -10:00
misc.c char: misc: make misc_class a static const structure 2023-06-23 10:27:15 +02:00
nsc_gpio.c
nvram.c
nwbutton.c
nwbutton.h
nwflash.c
pc8736x_gpio.c
powernv-op-panel.c
ppdev.c ppdev: make ppdev_class a static const structure 2023-06-23 10:27:17 +02:00
ps3flash.c
random.c char-misc: Remove the now superfluous sentinel element from ctl_table array 2023-10-11 12:16:13 -07:00
scx200_gpio.c
sonypi.c char: convert to new timestamp accessors 2023-10-18 13:26:16 +02:00
tlclk.c
toshiba.c
ttyprintk.c tty: make tty_operations::write()'s count size_t 2023-08-11 21:12:46 +02:00
uv_mmtimer.c
virtio_console.c virtio_console: Annotate struct port_buffer with __counted_by 2023-10-24 14:09:20 -07:00