diff options
author | Greg Kroah-Hartman <[email protected]> | 2012-01-16 14:40:28 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-01-16 17:08:42 -0800 |
commit | e032d80774315869aa2285b217fdbbfed86c0b49 (patch) | |
tree | c23bcaaa2217a68fd142aaa4dbf9c471f6eb9569 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 5b3fcfed35735af507be36a4c3f3bbeb9bc7bbf6 (diff) |
mce: fix warning messages about static struct mce_device
When suspending, there was a large list of warnings going something like:
Device 'machinecheck1' does not have a release() function, it is broken and must be fixed
This patch turns the static mce_devices into dynamically allocated, and
properly frees them when they are removed from the system. It solves
the warning messages on my laptop here.
Reported-by: "Srivatsa S. Bhat" <[email protected]>
Reported-by: Linus Torvalds <[email protected]>
Tested-by: Djalal Harouni <[email protected]>
Cc: Kay Sievers <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Borislav Petkov <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions