]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: fieldbus: anybuss: jump to correct label in an error path
authorJing Xiangfeng <jingxiangfeng@huawei.com>
Mon, 12 Oct 2020 13:24:04 +0000 (21:24 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2020 12:24:51 +0000 (13:24 +0100)
commit7e97e4cbf30026b49b0145c3bfe06087958382c5
tree963b8458923a9028f311651931816d49e1ff1351
parentdf5fbca677c916d1959f814b41b841b65e450027
staging: fieldbus: anybuss: jump to correct label in an error path

In current code, controller_probe() misses to call ida_simple_remove()
in an error path. Jump to correct label to fix it.

Fixes: 17614978ed34 ("staging: fieldbus: anybus-s: support the Arcx anybus controller")
Reviewed-by: Sven Van Asbroeck <TheSven73@gmail.com>
Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20201012132404.113031-1-jingxiangfeng@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fieldbus/anybuss/arcx-anybus.c