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

From: Greg KH
Date: Tue Jun 07 2011 - 17:35:15 EST


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

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/