aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2014-03-06 12:57:24 -0800
committerDmitry Torokhov <[email protected]>2014-03-29 14:44:23 -0700
commite4dbedc7eac7da9db363a36f2bd4366962eeefcc (patch)
tree79330a0e67bdea49030b68173ca016b9ce424a3c /tools/perf/util/trace-event-scripting.c
parentfc7392aa1b20debc7f398acc39ffc817630f11e6 (diff)
Input: mousedev - fix race when creating mixed device
We should not be using static variable mousedev_mix in methods that can be called before that singleton gets assigned. While at it let's add open and close methods to mousedev structure so that we do not need to test if we are dealing with multiplexor or normal device and simply call appropriate method directly. This fixes: https://bugzilla.kernel.org/show_bug.cgi?id=71551 Reported-by: GiulioDP <[email protected]> Tested-by: GiulioDP <[email protected]> Cc: [email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions