Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932434Ab1FGVfL (ORCPT ); Tue, 7 Jun 2011 17:35:11 -0400 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:45144 "EHLO out1.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932384Ab1FGVfJ (ORCPT ); Tue, 7 Jun 2011 17:35:09 -0400 X-Sasl-enc: HPnlx4PDVX4McGW2V/HZqnFs5fCOTfxwOLprxv88l/cL 1307482507 Date: Tue, 7 Jun 2011 14:31:59 -0700 From: Greg KH To: =?iso-8859-1?Q?N=E9meth_M=E1rton?= Cc: Greg Kroah-Hartman , Matt Mooney , Kulikov Vasiliy , Endre Kollar , Arjan Mels , Ilia Mirkin , David Chang , Himanshu Chauhan , Max Vozeler , Arnd Bergmann , usbip-devel@lists.sourceforge.net, devel@driverdev.osuosl.org, LKML Subject: Re: [PATCH] usbip: handle length at sysfs show() functions Message-ID: <20110607213158.GA11102@kroah.com> References: <4DE5CA9F.6010303@freemail.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4DE5CA9F.6010303@freemail.hu> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 753 Lines: 22 On Wed, Jun 01, 2011 at 07:14:07AM +0200, N?meth M?rton wrote: > From: M?rton N?meth > > The sysfs show() functions shall return the actual content length of > the result buffer. According to Documentation/filesystems/sysfs.txt:215 > the scnprintf() function is preferred. > > See also the article titled "snprintf() confusion" at > http://lwn.net/Articles/69419/ . > > Signed-off-by: M?rton N?meth This does not apply anymore, care to redo it? thanks, greg k-h -- 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/