From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754950AbbILUTW (ORCPT ); Sat, 12 Sep 2015 16:19:22 -0400 Received: from tex.lwn.net ([70.33.254.29]:35136 "EHLO vena.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754828AbbILUTU (ORCPT ); Sat, 12 Sep 2015 16:19:20 -0400 Date: Sat, 12 Sep 2015 14:19:18 -0600 From: Jonathan Corbet To: ulfalizer.lkml@gmail.com Cc: gregkh@linuxfoundation.org, shane.seymour@hp.com, ulfalizer@gmail.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] sysfs.txt: mention that store method buffers are null-terminated Message-ID: <20150912141918.6d8e4ee5@lwn.net> In-Reply-To: <1441645574-6043-1-git-send-email-ulfalizer.lkml@gmail.com> References: <1441645574-6043-1-git-send-email-ulfalizer.lkml@gmail.com> Organization: LWN.net X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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