On Thu, Mar 14, 2013 at 5:19 PM, Kim, Milo wrote:
> According to a sysfs documentation(Documentation/filesystem/sysfs.txt),
> scnprintf() should be used in a read operation method.
> It guarantees safe buffer size(PAGE_SIZE) which is allocated by the sysfs.
>
Oh, I missed that. Great, I merged it
According to a sysfs documentation(Documentation/filesystem/sysfs.txt),
scnprintf() should be used in a read operation method.
It guarantees safe buffer size(PAGE_SIZE) which is allocated by the sysfs.
Signed-off-by: Milo(Woogyom) Kim
---
drivers/leds/leds-lp5521.c|3 ++-
drivers/led
2 matches
Mail list logo