[PATCH] usbip: handle length at sysfs show() functions

Greg KH greg at kroah.com
Tue Jun 7 21:31:59 UTC 2011


On Wed, Jun 01, 2011 at 07:14:07AM +0200, Németh Márton wrote:
> From: Márton Németh <nm127 at freemail.hu>
> 
> 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 <nm127 at freemail.hu>

This does not apply anymore, care to redo it?

thanks,

greg k-h



More information about the devel mailing list