diff options
author | Kyle McMartin <kyle@redhat.com> | 2012-03-28 19:11:47 (GMT) |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-04-01 17:24:36 (GMT) |
commit | 31e354ee653c3d85e802a372f27224130fc95011 (patch) | |
tree | 7141540fe458224d870c7e106581dfc9d9fb7298 /net/dsa | |
parent | ce15a81da33b961852f6e6a55305ccc60856de25 (diff) | |
download | linux-31e354ee653c3d85e802a372f27224130fc95011.tar.xz |
hwmon: (acpi_power_meter) fix lockdep spew due to non-static lock class
Similar to a30dcb4f which fixed asus_atk0110.ko, I recently received a
bug report from someone hitting the same issue in acpi_power_meter.
[ 13.963168] power_meter ACPI000D:00: Found ACPI power meter.
[ 13.963900] BUG: key ffff8802161f3920 not in .data!
[ 13.963904] ------------[ cut here ]------------
[ 13.963915] WARNING: at kernel/lockdep.c:2986
lockdep_init_map+0x52f/0x560()
So let's fix that up for them by statically declaring the
lockdep_class_key.
Signed-off-by: Kyle McMartin <kyle@redhat.com>
Cc: stable@vger.kernel.org # 3.0+
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions