staging: unisys: visorbus: Don't check for more than PAGE_SIZE length in visorbus
authorDavid Binder <david.binder@unisys.com>
Tue, 3 Jan 2017 21:01:16 +0000 (16:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Jan 2017 17:48:03 +0000 (18:48 +0100)
commit7a41385e68da3c63899f3e22b6bdc513e59a1703
tree52551091255f096e88728e114e87e5a501dd00c8
parent401579c22ccbcb54244494069973e64b1fe980d2
staging: unisys: visorbus: Don't check for more than PAGE_SIZE length in visorbus

Since a sysfs entry is allocated 1 page of memory (4096 bytes) by default,
there is no need to enforce this limit in the driver. This patch corrects
visorbus/visorbus_main.c.

Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David Binder <david.binder@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_main.c