diff options
| author | Greg Kroah-Hartman <[email protected]> | 2012-01-16 22:40:28 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-01-17 01:08:42 +0000 |
| commit | e032d80774315869aa2285b217fdbbfed86c0b49 (patch) | |
| tree | c23bcaaa2217a68fd142aaa4dbf9c471f6eb9569 /fs/jbd/commit.c | |
| parent | Merge branch 'fixes' of git://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-c... (diff) | |
| download | kernel-e032d80774315869aa2285b217fdbbfed86c0b49.tar.gz kernel-e032d80774315869aa2285b217fdbbfed86c0b49.zip | |
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 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions
