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

From: Jonathan Corbet
Date: Sat Sep 12 2015 - 16:19:24 EST


On Mon, 7 Sep 2015 19:06:14 +0200
ulfalizer.lkml@xxxxxxxxx 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/