Skip to content
Commit 17666497 authored by Ulf Magnusson's avatar Ulf Magnusson Committed by Jonathan Corbet
Browse files

sysfs.txt: mention that store method buffers are null-terminated



Without knowing this, the use of sysfs_streq() becomes puzzling.

The termination happens in kernfs_fop_write().

Signed-off-by: default avatarUlf Magnusson <ulfalizer@gmail.com>
[jc: moved the new text to a different paragraph]
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 9ba41327
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment