]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: visorbus: visorchipset.c: Don't check for more than PAGE_SIZE length
authorDavid Binder <david.binder@unisys.com>
Tue, 3 Jan 2017 21:01:15 +0000 (16:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Jan 2017 17:48:03 +0000 (18:48 +0100)
commit107a0d36e8f00f2e975f395fc730f7aace5a53f8
tree83f8137b0134c556a3f01651273e2496a5838cb9
parent6bad471eacba09a80338070f4210e765e27be822
staging: unisys: visorbus: visorchipset.c: Don't check for more than PAGE_SIZE length

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/visorchipset.c.

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