Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1223460

Re: [PATCH] sysfs.txt: mention that store method buffers are null-terminated

From Jonathan Corbet <corbet@lwn.net>
Newsgroups linux.kernel
Subject Re: [PATCH] sysfs.txt: mention that store method buffers are null-terminated
Date 2015-09-12 22:20 +0200
Message-ID <q7Zrc-2G3-13@gated-at.bofh.it> (permalink)
References <q685A-3mv-9@gated-at.bofh.it>
Organization LWN.net

Show all headers | View raw


On Mon,  7 Sep 2015 19:06:14 +0200
ulfalizer.lkml@gmail.com wrote:

> Without knowing this, the use of sysfs_streq() becomes puzzling.
> 
> The termination happens in kernfs_fop_write().

Applied to the docs tree.  I moved it up a paragraph, though, since it
better fits the flow of the document there.

Thanks,

jon
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] sysfs.txt: mention that store method buffers are null-terminated ulfalizer.lkml@gmail.com - 2015-09-07 19:10 +0200
  Re: [PATCH] sysfs.txt: mention that store method buffers are  null-terminated Jonathan Corbet <corbet@lwn.net> - 2015-09-12 22:20 +0200

csiph-web