WSL2-Linux-Kernel/Documentation/fault-injection
Wolfram Sang 005747526d 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>
2021-06-14 15:58:22 -06:00
..
fault-injection.rst docs: fault-injection: fix non-working usage of negative values 2021-06-14 15:58:22 -06:00
index.rst docs: add some directories to the main documentation index 2019-07-15 11:03:03 -03:00
notifier-error-inject.rst docs: fault-injection: convert docs to ReST and rename to *.rst 2019-06-14 14:21:07 -06:00
nvme-fault-injection.rst nvme: rename and document nvme_end_request 2020-08-21 17:14:28 -06:00
provoke-crashes.rst docs: lkdtm: Modernize and improve details 2020-10-21 15:10:30 -06:00