]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fjes: Add missing iounmap in fjes_hw_init()
authorHaoxiang Li <lihaoxiang@isrc.iscas.ac.cn>
Thu, 11 Dec 2025 07:37:56 +0000 (15:37 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jan 2026 12:10:03 +0000 (13:10 +0100)
commit96e9b4b4eebe55cfc18911763330c3b4217dda80
treec55826a85507a57305144d53f66c8e73f8de7d53
parent278b7cfe0d4da7502c7fd679b15032f014c92892
fjes: Add missing iounmap in fjes_hw_init()

commit 15ef641a0c6728d25a400df73922e80ab2cf029c upstream.

In error paths, add fjes_hw_iounmap() to release the
resource acquired by fjes_hw_iomap(). Add a goto label
to do so.

Fixes: 8cdc3f6c5d22 ("fjes: Hardware initialization routine")
Cc: stable@vger.kernel.org
Signed-off-by: Haoxiang Li <lihaoxiang@isrc.iscas.ac.cn>
Signed-off-by: Simon Horman <horms@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20251211073756.101824-1-lihaoxiang@isrc.iscas.ac.cn
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/fjes/fjes_hw.c