platform/x86: thinkpad_acpi: re-initialize ACPI buffer size when reuse
Aaron Ma authored
commit 720ef73d upstream.

Evaluating ACPI _BCL could fail, then ACPI buffer size will be set to 0.
When reuse this ACPI buffer, AE_BUFFER_OVERFLOW will be triggered.

Re-initialize buffer size will make ACPI evaluate successfully.

Fixes: 46445b6b

 ("thinkpad-acpi: fix handle locate for video and query of _BCL")
Signed-off-by: default avatarAaron Ma <aaron.ma@canonical.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
3fd2647f
Name Last commit Last update
Documentation block/diskstats: more accurate approximation of io_ticks for slow disks
LICENSES LICENSES: Rename other to deprecated
arch mm: replace memmap_context by meminit_context
block block/diskstats: more accurate approximation of io_ticks for slow disks
certs PKCS#7: Refactor verify_pkcs7_signature()
crypto crypto: af_alg - Work around empty control messages without MSG_MORE
drivers platform/x86: thinkpad_acpi: re-initialize ACPI buffer size when reuse
fs io_uring: Fix double list add in io_queue_async_work()
include bpf: Prevent .BTF section elimination
init kprobes: tracing/kprobes: Fix to kill kprobes on initmem after boot
ipc ipc/util.c: sysvipc_find_ipc() incorrectly updates position index
kernel bpf: Fix sysfs export of empty BTF section
lib Fonts: Support FONT_EXTRA_WORDS macros for built-in fonts
mm mm: don't rely on system state to detect hot-plug operations
net net: wireless: nl80211: fix out-of-bounds access in nl80211_del_key()
samples bpf: Fix fds_example SIGSEGV error
scripts scripts/dtc: only append to HOST_EXTRACFLAGS instead of overwriting
security device_cgroup: Fix RCU list debugging warning
sound ALSA: hda/realtek: Enable front panel headset LED on Lenovo ThinkStation P520
tools tools/io_uring: fix compile breakage
usr initramfs: restore default compression behavior
virt KVM: arm64: Assume write fault on S1PTW permission fault on instruction fetch
.clang-format clang-format: Update with the latest for_each macro list
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl
.gitattributes .gitattributes: set git diff driver for C source code files
.gitignore Merge tag 'modules-for-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux
.mailmap Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
COPYING COPYING: use the new text with points to the license files
CREDITS MAINTAINERS: Remove Simon as Renesas SoC Co-Maintainer
Kbuild kbuild: do not descend to ./Kbuild when cleaning
Kconfig docs: kbuild: convert docs to ReST and rename to *.rst
MAINTAINERS Documentation/llvm: add documentation on building w/ Clang/LLVM
Makefile Linux 5.4.70
README Drop all 00-INDEX files from Documentation/
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.