firmware: arm_sdei: Fix the input parameter of cpuhp_remove_state()
authorXiongfeng Wang <wangxiongfeng2@huawei.com>
Wed, 16 Oct 2024 08:47:40 +0000 (16:47 +0800)
committerWill Deacon <will@kernel.org>
Wed, 23 Oct 2024 15:19:03 +0000 (16:19 +0100)
commitc83212d79be2c9886d3e6039759ecd388fd5fed1
tree1f9bd1cc2b3d15a4c52b273205e0604a4773d5ec
parent237ab03e301d21cc8fed631a8cdb5076c92ac263
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: d2c48b2387eb ("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>
drivers/firmware/arm_sdei.c