]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited7acba9baf9285d3588a798a513420825b4c68e
treea02d1734d24df2bb7a89e8190577204d43b2385f
parent4e7e39ee15e812c3d0dc309617dc21e8c0cb40fb
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