diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-05-09 20:22:33 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-20 17:15:53 +0300 |
commit | 23e431f7f36cb2744be7f1a1fffe6a3608b21b0c (patch) | |
tree | 94597c1afd40f74af740ab899ec9d7496fae2383 /drivers/net/wireless | |
parent | ccc59418ad81e6fa24ee50f4adc763f12972ce2c (diff) | |
download | linux-23e431f7f36cb2744be7f1a1fffe6a3608b21b0c.tar.xz |
tty: nozomi: Fix a resource leak in an error handling function
[ Upstream commit 31a9a318255960d32ae183e95d0999daf2418608 ]
A 'request_irq()' call is not balanced by a corresponding 'free_irq()' in
the error handling path, as already done in the remove function.
Add it.
Fixes: 9842c38e9176 ("kfifo: fix warn_unused_result")
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/4f0d2b3038e82f081d370ccb0cade3ad88463fe7.1620580838.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/wireless')
0 files changed, 0 insertions, 0 deletions