From: Guenter Roeck <guenter.roeck@ericsson.com>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH] hwmon: (coretemp) Fix oops on CPU offlining
Date: Sat, 10 Dec 2011 22:39:15 +0000 [thread overview]
Message-ID: <20111210223915.GA28179@ericsson.com> (raw)
In-Reply-To: <20111210214115.5f7cfb2b@endymion.delvare>
On Sat, Dec 10, 2011 at 03:41:15PM -0500, Jean Delvare wrote:
> From: Jean Delvare <khali@linux-fr.org>
> Subject: hwmon: (coretemp) Fix oops on CPU offlining
>
> This is the same fix as "hwmon: (coretemp) Fix oops on driver load"
> but for the CPU offlining case. Sorry for missing it at first.
>
> Signed-off-by: Jean Delvare <khali@linux-fr.org>
> Cc: Durgadoss R <durgadoss.r@intel.com>
> Cc: Guenter Roeck <guenter.roeck@ericsson.com>
> Cc: Fenghua Yu <fenghua.yu@intel.com>
> Cc: stable@kernel.org
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
> ---
> Once again only kernel branch 3.0 is affected.
>
> drivers/hwmon/coretemp.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> --- linux-3.0.orig/drivers/hwmon/coretemp.c 2011-12-10 14:05:08.000000000 +0100
> +++ linux-3.0/drivers/hwmon/coretemp.c 2011-12-10 16:26:59.000000000 +0100
> @@ -747,6 +747,8 @@ static void __cpuinit put_core_offline(u
> return;
>
> pdata = platform_get_drvdata(pdev);
> + if (!pdata)
> + return;
>
> indx = TO_ATTR_NO(cpu);
>
>
>
> --
> Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
prev parent reply other threads:[~2011-12-10 22:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-10 20:41 [lm-sensors] [PATCH] hwmon: (coretemp) Fix oops on CPU offlining Jean Delvare
2011-12-10 22:39 ` 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=20111210223915.GA28179@ericsson.com \
--to=guenter.roeck@ericsson.com \
--cc=lm-sensors@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.