mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Guenter Roeck <guenter.roeck@ericsson.com>
To: Kyle McMartin <kyle@redhat.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"khali@linux-fr.org" <khali@linux-fr.org>,
	"lm-sensors@lm-sensors.org" <lm-sensors@lm-sensors.org>,
	"djwong@us.ibm.com" <djwong@us.ibm.com>
Subject: Re: [PATCH] acpi_power_meter: fix lockdep spew due to non-static lock class
Date: Wed, 28 Mar 2012 12:55:59 -0700	[thread overview]
Message-ID: <1332964559.21301.144.camel@groeck-laptop> (raw)
In-Reply-To: <20120328191147.GK25886@redacted.bos.redhat.com>

On Wed, 2012-03-28 at 15:11 -0400, Kyle McMartin wrote:
> 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>
> 
Applied.

Thanks,
Guenter



      reply	other threads:[~2012-03-28 19:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-28 19:11 Kyle McMartin
2012-03-28 19:55 ` Guenter Roeck [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1332964559.21301.144.camel@groeck-laptop \
    --to=guenter.roeck@ericsson.com \
    --cc=djwong@us.ibm.com \
    --cc=khali@linux-fr.org \
    --cc=kyle@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lm-sensors@lm-sensors.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®