]> git.ipfire.org Git - thirdparty/kernel/linux.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)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 22 Dec 2025 11:11:32 +0000 (12:11 +0100)
commit15ef641a0c6728d25a400df73922e80ab2cf029c
treeaf91b175ad646df485e2cdef1b91463fbe3eeac0
parentd1a1a4bade4b20c0858d0b2f81d2611de055f675
fjes: Add missing iounmap in fjes_hw_init()

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>
drivers/net/fjes/fjes_hw.c