diff options
author | Alan Stern <[email protected]> | 2011-01-10 11:23:05 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2011-01-22 18:38:57 -0800 |
commit | d5aa475180d03d45c5dc6134aa833f1b3e89c45e (patch) | |
tree | 751494124d88366fa8f9369911661bad2b7ad08d /tools/perf/util/trace-event-scripting.c | |
parent | bbfba05283ba482ab7c119150fd3c5611939f9fd (diff) |
USB: g_printer: fix bug in unregistration
This patch (as1441) fixes a bug in g_printer. The gadget driver, char
device number, and class device should be unregistered in reverse
order of registration. As it is now, when the module is unloaded the
class device gets unregistered first, causing a crash when the unbind
method tries to access it.
This fixes Bugzilla #25882.
Signed-off-by: Alan Stern <[email protected]>
CC: Roland Kletzing <[email protected]>
CC: Craig W. Nadler <[email protected]>
CC: <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions