diff options
author | Matthew Garrett <[email protected]> | 2010-06-29 15:05:29 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-06-29 15:29:31 -0700 |
commit | 56480287f9776adc5b1a7a335ef62a9b9879ad7f (patch) | |
tree | 74d6962b3e056fdf6303f7fc12f9e50b514faf11 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | e05bd3367bd3d88715b53766f95bb3a8ec7ab59e (diff) |
ipmi: make sure drivers were registered before unregistering them
The ipmi code will never register a PCI or Open Firmware driver if a
hardcoded device is provided by the user by providing device addresses via
the module parameters. This can cause us to attempt to unregister a
driver that was never registered, resulting in an oops. Keep track of
registration in order to avoid this.
Fixes a post-2.6.34 regression.
Signed-off-by: Matthew Garrett <[email protected]>
Acked-by: Corey Minyard <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions