From: Huang Ying <ying.huang@intel.com>
To: Len Brown <lenb@kernel.org>
Cc: linux-kernel@vger.kernel.org, Andi Kleen <ak@linux.intel.com>,
linux-acpi@vger.kernel.org, Huang Ying <ying.huang@intel.com>
Subject: [PATCH 1/4] ACPI, APEI, Fix a typo of error path of apei_resources_request
Date: Mon, 2 Aug 2010 15:48:22 +0800 [thread overview]
Message-ID: <1280735305-15379-2-git-send-email-ying.huang@intel.com> (raw)
In-Reply-To: <1280735305-15379-1-git-send-email-ying.huang@intel.com>
Fix a typo of error path of apei_resources_request. release_mem_region
and release_region should be interchange.
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
---
drivers/acpi/apei/apei-base.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/drivers/acpi/apei/apei-base.c
+++ b/drivers/acpi/apei/apei-base.c
@@ -482,14 +482,14 @@ err_unmap_ioport:
list_for_each_entry(res, &resources->ioport, list) {
if (res == res_bak)
break;
- release_mem_region(res->start, res->end - res->start);
+ release_region(res->start, res->end - res->start);
}
res_bak = NULL;
err_unmap_iomem:
list_for_each_entry(res, &resources->iomem, list) {
if (res == res_bak)
break;
- release_region(res->start, res->end - res->start);
+ release_mem_region(res->start, res->end - res->start);
}
return -EINVAL;
}
next prev parent reply other threads:[~2010-08-02 7:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-02 7:48 [PATCH 0/4] ACPI, APEI, Some fixes and ERST debug support for 2.6.36 Huang Ying
2010-08-02 7:48 ` Huang Ying [this message]
2010-08-08 19:07 ` [PATCH 1/4] ACPI, APEI, Fix a typo of error path of apei_resources_request Len Brown
2010-08-02 7:48 ` [PATCH 2/4] ACPI, APEI, Rename CPER and GHES severity constants Huang Ying
2010-08-08 19:07 ` Len Brown
2010-08-02 7:48 ` [PATCH 3/4] ACPI, APEI, Manage GHES as platform devices Huang Ying
2010-08-08 19:07 ` Len Brown
2010-08-02 7:48 ` [PATCH 4/4] ACPI, APEI, ERST debug support Huang Ying
2010-08-05 8:27 ` Thomas Renninger
2010-08-05 8:48 ` Huang Ying
2010-08-08 19:07 ` Len Brown
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=1280735305-15379-2-git-send-email-ying.huang@intel.com \
--to=ying.huang@intel.com \
--cc=ak@linux.intel.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).