cpuidle: fix container_of err in cpuidle_device and cpuidle_driver
euleros inclusion category: bugfix bugzilla: 34, https://gitee.com/openeuler/kernel/issues/I3VXYP CVE: NA -------------------------------------------------------------- Since we use struct wrapper to fix kabi broken in cpuidle_device and cpuidle_driver, but it only cares about haltpoll device and driver, which will cause memory error in case of that we use other cpuidle driver. Fixes: 5c14d4a7 ("cpuidle: fix kabi broken in cpuidle_device and cpuidle_driver") Signed-off-by:Jiajun Chen <chenjiajun8@huawei.com> Reviewed-by:
Xiangyou Xie <xiexiangyou@huawei.com> Signed-off-by:
Cheng Jian <cj.chengjian@huawei.com>
Showing
- drivers/cpuidle/cpuidle-haltpoll.c 3 additions, 1 deletiondrivers/cpuidle/cpuidle-haltpoll.c
- drivers/cpuidle/cpuidle.c 14 additions, 8 deletionsdrivers/cpuidle/cpuidle.c
- drivers/cpuidle/driver.c 20 additions, 15 deletionsdrivers/cpuidle/driver.c
- drivers/cpuidle/poll_state.c 4 additions, 1 deletiondrivers/cpuidle/poll_state.c
- drivers/cpuidle/sysfs.c 0 additions, 6 deletionsdrivers/cpuidle/sysfs.c
- include/linux/cpuidle.h 8 additions, 0 deletionsinclude/linux/cpuidle.h
Please register or sign in to comment