diff options
| author | Christophe JAILLET <[email protected]> | 2021-05-25 18:51:57 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-05-27 13:20:02 +0000 |
| commit | 6ae7d0f5a92b9619f6e3c307ce56b2cefff3f0e9 (patch) | |
| tree | ff0b1843082a20f637007126ccac9379eaa9b208 /drivers/net/xen-netback/interface.c | |
| parent | dt-bindings: serial: pl011: Delete an incorrect compatible string (diff) | |
| download | kernel-6ae7d0f5a92b9619f6e3c307ce56b2cefff3f0e9.tar.gz kernel-6ae7d0f5a92b9619f6e3c307ce56b2cefff3f0e9.zip | |
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 <[email protected]>
Signed-off-by: Christophe JAILLET <[email protected]>
Link: https://lore.kernel.org/r/e28c2e92c7475da25b03d022ea2d6dcf1ba807a2.1621968629.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
