Skip to content

Commit c83212d

Browse files
fenghusthuwilldeacon
authored andcommitted
firmware: arm_sdei: Fix the input parameter of cpuhp_remove_state()
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>
1 parent 237ab03 commit c83212d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/firmware/arm_sdei.c

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

765765
/* unregister private events */
766-
cpuhp_remove_state(sdei_entry_point);
766+
cpuhp_remove_state(sdei_hp_state);
767767

768768
err = sdei_unregister_shared();
769769
if (err)

0 commit comments

Comments
 (0)