linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lv Zheng <lv.zheng@intel.com>
To: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
	Robert Moore <robert.moore@intel.com>,
	Len Brown <len.brown@intel.com>
Cc: Lv Zheng <lv.zheng@intel.com>, linux-acpi@vger.kernel.org
Subject: [PATCH 01/15] ACPICA: Update default space handlers.
Date: Thu, 31 Oct 2013 09:29:49 +0800	[thread overview]
Message-ID: <f96c3f150c8f49a17adb2783b98ce60d1c0f192b.1383182393.git.lv.zheng@intel.com> (raw)
In-Reply-To: <cover.1383182392.git.lv.zheng@intel.com>

This patch decreases 11 lines of divergences.

This patch includes code fragment that is already in ACPICA upstream.
Thus applying this patch can help to reduce the source code differences
between Linux and ACPICA upstream.

This code fragment is only useful to ACPICA utilities that might occur in
tools/power/acpi folder and there is no functional changes can be caused to
the Linux kernel by applying this patch.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
---
 drivers/acpi/acpica/exregion.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/acpi/acpica/exregion.c b/drivers/acpi/acpica/exregion.c
index 303429bb..9d28867e 100644
--- a/drivers/acpi/acpica/exregion.c
+++ b/drivers/acpi/acpica/exregion.c
@@ -400,6 +400,7 @@ acpi_ex_pci_config_space_handler(u32 function,
 	switch (function) {
 	case ACPI_READ:
 
+		*value = 0;
 		status = acpi_os_read_pci_configuration(pci_id, pci_register,
 							value, bit_width);
 		break;
-- 
1.7.10


  reply	other threads:[~2013-10-31  1:30 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-29  1:28 [PATCH 00/20] ACPICA: 20130927 Release Lv Zheng
2013-10-29  1:28 ` [PATCH 01/20] ACPICA: Ensure that debug output is immediately disabled on termination Lv Zheng
2013-10-29  1:28 ` [PATCH 02/20] ACPICA: Table print header function: Increase default width for table length Lv Zheng
2013-10-29  1:29 ` [PATCH 03/20] ACPICA: Add a check for a null node during namespace walk Lv Zheng
2013-10-29  1:29 ` [PATCH 04/20] ACPICA: Add history/line-editing for Unix/Linux systems Lv Zheng
2013-10-29  1:29 ` [PATCH 05/20] ACPICA: Fix a macro for the hardware-reduced case Lv Zheng
2013-10-29  1:29 ` [PATCH 06/20] ACPICA: Add safe versions of common string functions Lv Zheng
2013-10-29  1:29 ` [PATCH 07/20] ACPICA: Cleanup memory allocation macros and configurability Lv Zheng
2013-10-29  1:29 ` [PATCH 08/20] ACPICA: Predefine name macros: Sort list Lv Zheng
2013-10-29  1:29 ` [PATCH 09/20] ACPICA: Fix possible memory leaks in the GPE handling Lv Zheng
2013-10-29  1:29 ` [PATCH 10/20] ACPICA: Hardcode access width for the reset register Lv Zheng
2013-10-29  1:29 ` [PATCH 11/20] ACPICA: Add EXPORT_ACPI_INTERFACES macro to external interface modules Lv Zheng
2013-10-29  1:29 ` [PATCH 12/20] ACPICA: Update comment: no functional change Lv Zheng
2013-10-29  1:30 ` [PATCH 13/20] ACPICA: Linuxize: Change indentation of C labels Lv Zheng
2013-10-29  1:30 ` [PATCH 14/20] ACPICA: Deploy ACPI_EXPORT_SYMBOL_INIT for main ACPICA initialization interfaces Lv Zheng
2013-10-29  1:30 ` [PATCH 15/20] ACPICA: Prevent possible build issues for use of ACPI_PRINTF_LIKE macro Lv Zheng
2013-10-29  1:30 ` [PATCH 16/20] ACPICA: AcpiSrc: Fix indentation issues for macro invocations Lv Zheng
2013-10-29  1:30 ` [PATCH 17/20] ACPICA: Simplify configuration of global ACPI_REDUCED_HARDWARE macro Lv Zheng
2013-10-29  1:30 ` [PATCH 18/20] ACPICA: Add support to allow host to redefine individual OSL prototypes Lv Zheng
2013-10-29  1:30 ` [PATCH 19/20] ACPICA: Update aclinux.h for new OSL override mechanism Lv Zheng
2013-10-29  1:30 ` [PATCH 20/20] ACPICA: Update version to 20130927 Lv Zheng
2013-10-31  1:29 ` [PATCH 00/15] ACPICA: Update ACPICA files to reduce source code differences between Linux and ACPICA Lv Zheng
2013-10-31  1:29   ` Lv Zheng [this message]
2013-10-31  1:30   ` [PATCH 02/15] ACPICA: Update ANOBJ_IS_EXTERNAL flag Lv Zheng
2013-10-31  1:30   ` [PATCH 03/15] ACPICA: Update namespace dump code Lv Zheng
2013-10-31  1:30   ` [PATCH 04/15] ACPICA: Update RSDP table definitions Lv Zheng
2013-10-31  1:30   ` [PATCH 05/15] ACPICA: Update DMAR " Lv Zheng
2013-10-31  1:30   ` [PATCH 06/15] ACPICA: Add new statistics interface Lv Zheng
2013-10-31  1:30   ` [PATCH 07/15] ACPICA: Fix wrong object length returned by acpi_ut_get_simple_object_size() Lv Zheng
2013-10-31  1:30   ` [PATCH 08/15] ACPICA: Fix an ACPI_ALLOCATE_ZEROED() reversal Lv Zheng
2013-10-31  1:30   ` [PATCH 09/15] ACPICA: Cleanup useless memset invocations Lv Zheng
2013-10-31  1:30   ` [PATCH 10/15] ACPICA: Remove dead AOPOBJ_INVALID check Lv Zheng
2013-10-31  1:31   ` [PATCH 11/15] ACPICA: Fix cached object deletion code Lv Zheng
2013-10-31  1:31   ` [PATCH 12/15] ACPICA: Update compilation environment settings Lv Zheng
2013-10-31  1:31   ` [PATCH 13/15] ACPICA: Update acpidump related header file changes Lv Zheng
2013-10-31  1:31   ` [PATCH 14/15] ACPICA: Cleanup asmlinkage for ACPICA APIs Lv Zheng
2013-10-31  1:31   ` [PATCH 15/15] ACPICA: Add __init for ACPICA initializers/finalizers Lv Zheng
2013-10-31 13:54   ` [PATCH 00/15] ACPICA: Update ACPICA files to reduce source code differences between Linux and ACPICA Rafael J. Wysocki
2013-11-01  0:39     ` Zheng, Lv
2013-10-31 13:53 ` [PATCH 00/20] ACPICA: 20130927 Release Rafael J. Wysocki
2013-11-01  0:39   ` Zheng, Lv

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=f96c3f150c8f49a17adb2783b98ce60d1c0f192b.1383182393.git.lv.zheng@intel.com \
    --to=lv.zheng@intel.com \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=rafael.j.wysocki@intel.com \
    --cc=robert.moore@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;
as well as URLs for NNTP newsgroup(s).