From: Zhihui Zhang <zzhsuny@gmail.com>
To: rui.zhang@intel.com, lenb@kernel.org, rjw@rjwysocki.net
Cc: linux-acpi@vger.kernel.org
Subject: [PATCH] ACPI: Fixed wrong variable usage in thermal driver
Date: Sat, 29 Mar 2014 09:25:47 -0400 [thread overview]
Message-ID: <1396099547-3394-1-git-send-email-zzhsuny@gmail.com> (raw)
Signed-off-by: Zhihui Zhang <zzhsuny@gmail.com>
---
drivers/acpi/thermal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c
index 08626c8..6afe95b 100644
--- a/drivers/acpi/thermal.c
+++ b/drivers/acpi/thermal.c
@@ -338,7 +338,7 @@ static int acpi_thermal_trips_update(struct acpi_thermal *tz, int flag)
tz->trips.hot.flags.valid = 1;
ACPI_DEBUG_PRINT((ACPI_DB_INFO,
"Found hot threshold [%lu]\n",
- tz->trips.critical.temperature));
+ tz->trips.hot.temperature));
}
}
--
1.8.1.2
next reply other threads:[~2014-03-29 13:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-29 13:25 Zhihui Zhang [this message]
2014-04-08 12:32 ` [PATCH] ACPI: Fixed wrong variable usage in thermal driver Rafael J. Wysocki
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=1396099547-3394-1-git-send-email-zzhsuny@gmail.com \
--to=zzhsuny@gmail.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=rui.zhang@intel.com \
/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