Skip to content

Commit 546ad45

Browse files
fenghusthugregkh
authored andcommitted
firmware: arm_sdei: Fix the input parameter of cpuhp_remove_state()
[ Upstream commit c83212d ] In sdei_device_freeze(), the input parameter of cpuhp_remove_state() is passed as 'sdei_entry_point' by mistake. Change it to 'sdei_hp_state'. Fixes: d2c48b2 ("firmware: arm_sdei: Fix sleep from invalid context BUG") Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com> Reviewed-by: James Morse <james.morse@arm.com> Link: https://lore.kernel.org/r/20241016084740.183353-1-wangxiongfeng2@huawei.com Signed-off-by: Will Deacon <will@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent a661ed3 commit 546ad45

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/firmware/arm_sdei.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ static int sdei_device_freeze(struct device *dev)
800800
int err;
801801

802802
/* unregister private events */
803-
cpuhp_remove_state(sdei_entry_point);
803+
cpuhp_remove_state(sdei_hp_state);
804804

805805
err = sdei_unregister_shared();
806806
if (err)

0 commit comments

Comments
 (0)