HSI: hsi_char: Remove max_data_size from sysfs
authorCarlos Chinea <carlos.chinea@nokia.com>
Fri, 13 Apr 2012 13:03:03 +0000 (16:03 +0300)
committerCarlos Chinea <carlos.chinea@nokia.com>
Mon, 23 Apr 2012 11:23:32 +0000 (14:23 +0300)
commitfdadb6e9a5cf65c7662b2ca817856f187d05ab7d
treef1dee4d73e6ff868d9c986bc9aa936bef82aed69
parentec1c56ff813a198d656d4aa42e5de03e45751bf8
HSI: hsi_char: Remove max_data_size from sysfs

Remove max_data_size sysfs entry. Otherwise is possible
to have a buffer overrun if its value is increased after
the device is open.

Signed-off-by: Carlos Chinea <carlos.chinea@nokia.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/hsi/clients/hsi_char.c