Commit aad298d1 authored by Qifu Zhang's avatar Qifu Zhang Committed by Zheng Zengkai
Browse files

Documentation: ACPI: EINJ: Fix obsolete example

stable inclusion
from stable-v5.10.138
commit a408f135c4c2ba3948e1bbdbe5eff115f3d5d058
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I60QFD

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a408f135c4c2ba3948e1bbdbe5eff115f3d5d058



--------------------------------

commit 9066e151 upstream.

Since commit 488dac0c ("libfs: fix error cast of negative value in
simple_attr_write()"), the EINJ debugfs interface no longer accepts
negative values as input. Attempt to do so will result in EINVAL.

Fixes: 488dac0c ("libfs: fix error cast of negative value in simple_attr_write()")
Signed-off-by: default avatarQifu Zhang <zhangqifu@bytedance.com>
Reviewed-by: default avatarTony Luck <tony.luck@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
parent 8c62da3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment