]> git.baikalelectronics.ru Git - kernel.git/commit
ACPICA: Fix a couple issues with the local printf module.
authorLv Zheng <lv.zheng@intel.com>
Mon, 13 Apr 2015 03:51:23 +0000 (11:51 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 14 Apr 2015 12:51:56 +0000 (14:51 +0200)
commita7f4bb3ae6c62e3eaed72fe4b7e550692aaa98b9
tree8c81e8bbece86d84534347c3ab077694fcb38186
parent17eb2cefe69684f50376d405d3aa64f457e43714
ACPICA: Fix a couple issues with the local printf module.

ACPICA commit 6853da4c0a99b49d62d6c58d22956cd6ff5759a9

The following commit has fixed local printf issue in width.prec:

  Commit: de6d08e498353fe53c0f2c2d3f689651fb2d7398
  Subject: ACPICA: Utilities: Fix local printf issue.

But this commit only resets width/precision/quialifier to fix the reported
issue and doesn't fix other states issues. So now we still can see breakage
in format types and integer bases.

This patch resets format type/base states for local printf to fix this
issue. Lv Zheng.

Linux kernel is not affected by this patch as acpi_ut_vsnprintf() hasn't
been enabled in the kernel.

Link: https://github.com/acpica/acpica/commit/6853da4c
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/utprint.c