summaryrefslogtreecommitdiff
path: root/drivers/usb/early/ehci-dbgp.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-05-25 21:51:57 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-27 16:20:02 +0300
commit6ae7d0f5a92b9619f6e3c307ce56b2cefff3f0e9 (patch)
treeff0b1843082a20f637007126ccac9379eaa9b208 /drivers/usb/early/ehci-dbgp.c
parentf2b0fe4b121e25bacdcfebd8a9dfd307b87142e7 (diff)
downloadlinux-6ae7d0f5a92b9619f6e3c307ce56b2cefff3f0e9.tar.xz
tty: nozomi: Fix the error handling path of 'nozomi_card_init()'
The error handling path is broken and we may un-register things that have never been registered. Update the loops index accordingly. Fixes: 9842c38e9176 ("kfifo: fix warn_unused_result") Suggested-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/e28c2e92c7475da25b03d022ea2d6dcf1ba807a2.1621968629.git.christophe.jaillet@wanadoo.fr Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/early/ehci-dbgp.c')
0 files changed, 0 insertions, 0 deletions