]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
EDAC/ie31200: Fix the error path order of ie31200_init()
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Mon, 10 Mar 2025 01:14:03 +0000 (09:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:33:31 +0000 (14:33 +0200)
commit0e44e88754c84dc8e4006811d1a2501109e8e2f2
tree9288d49e7cd8791fe430249d24fe27880e432620
parent13479cf576a6956a0c70c4264aaf044fca12f79d
EDAC/ie31200: Fix the error path order of ie31200_init()

[ Upstream commit 231e341036d9988447e3b3345cf741a98139199e ]

The error path order of ie31200_init() is incorrect, fix it.

Fixes: 709ed1bcef12 ("EDAC/ie31200: Fallback if host bridge device is already initialized")
Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Tested-by: Gary Wang <gary.c.wang@intel.com>
Link: https://lore.kernel.org/r/20250310011411.31685-4-qiuxu.zhuo@intel.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/edac/ie31200_edac.c