]> www.infradead.org Git - users/dwmw2/linux.git/commit
Documentation: ACPI: EINJ: Fix obsolete example
authorQifu Zhang <zhangqifu@bytedance.com>
Tue, 19 Jul 2022 11:50:13 +0000 (19:50 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Aug 2022 09:37:53 +0000 (11:37 +0200)
commita408f135c4c2ba3948e1bbdbe5eff115f3d5d058
tree61999089725827855b952a3e61bdddd2a3be981c
parent8aab4295582eb397a125d2788b829fa62b88dbf7
Documentation: ACPI: EINJ: Fix obsolete example

commit 9066e151c37950af92c3be6a7270daa8e8063db9 upstream.

Since commit 488dac0c9237 ("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: 488dac0c9237 ("libfs: fix error cast of negative value in simple_attr_write()")
Signed-off-by: Qifu Zhang <zhangqifu@bytedance.com>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/firmware-guide/acpi/apei/einj.rst