summaryrefslogtreecommitdiffstats
path: root/include/acpi/button.h
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2021-06-03 14:58:41 +0200
committerJonathan Corbet <corbet@lwn.net>2021-06-14 23:58:22 +0200
commit005747526d4f3c2ec995891e95cb7625161022f9 (patch)
tree012d3da858ae493cf64ccb040754a6bff528c9c8 /include/acpi/button.h
parentdocs: checkpatch: Document and segregate more checkpatch message types (diff)
downloadlinux-005747526d4f3c2ec995891e95cb7625161022f9.tar.xz
linux-005747526d4f3c2ec995891e95cb7625161022f9.zip
docs: fault-injection: fix non-working usage of negative values
Fault injection uses debugfs in a way that the provided values via sysfs are interpreted as u64. Providing negative numbers results in an error: /sys/kernel/debug/fail_function# echo -1 > times sh: write error: Invalid argument Update the docs and examples to use "printf %#x <val>" in these cases. For "retval", reword the paragraph a little and fix a typo. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Link: https://lore.kernel.org/r/20210603125841.27436-1-wsa+renesas@sang-engineering.com Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'include/acpi/button.h')
0 files changed, 0 insertions, 0 deletions