staging: ft1000: fix kernel info leak to userland for statistics

get_stat_data is not fully initialized before copy_to_user() call,
e.g. LedStat is not always set.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Vasiliy Kulikov 2010-10-03 21:22:48 +04:00 • committed by Greg Kroah-Hartman
commit 86ee1e49cf