]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9235fe54981e16e2301136f17cfb3e504bce23d8
tree9b7f9c1b873a6c7acaa1a94ea26b42f35894d945
parentef563472e6edf9e3d1484ae5221a67293ec686fd
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