staging: lttng: Fix recent modifications to string_from_user operation
authorYannick Brosseau <yannick.brosseau@gmail.com>
Sat, 3 Dec 2011 02:13:32 +0000 (21:13 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Dec 2011 23:05:16 +0000 (15:05 -0800)
commit643167423858052c26b2dfaf332c1ec0b472ea7a
tree9b7f9c1b873a6c7acaa1a94ea26b42f35894d945
parentf7f9f4536a09f9f73c800663df2e600c9405e1ef
staging: lttng: Fix recent modifications to string_from_user operation

Include: a fix for a recently introduced change: obviously max_t should
be used instead of min_t here. Also, a likely should apply to the result
of the comparison, not the variable per se.

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/lttng/probes/lttng-events.h