Input: limit attributes' output to PAGE_SIZE
authorDmitry Torokhov <dtor_core@ameritech.net>
Sun, 2 Apr 2006 05:09:26 +0000 (00:09 -0500)
committerDmitry Torokhov <dtor_core@ameritech.net>
Sun, 2 Apr 2006 05:09:26 +0000 (00:09 -0500)
commit2db66876334d6bf44414cb6225d134b751b1d7ff
treea02d1734d24df2bb7a89e8190577204d43b2385f
parent95d465fd750897ab32462a6702fbfe1b122cbbc0
Input: limit attributes' output to PAGE_SIZE

sysfs can't handle more than PAGE_SIZE data coming from attributes'
show() methods; make sure we respect this limit.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/input.c