[GIT PULL] LoongArch fixes for v6.1-rc3

Huacai Chen
2022-10-30T09:19:03Z

The following changes since commit 247f34f7b80357943234f93f247a1ae6b6c3a740:

Linux 6.1-rc2 (2022-10-23 15:27:33 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git tags/loongarch-fixes-6.1-1

for you to fetch changes up to d81916910f7498fe7a768697e0101d488f9fe665:

platform/loongarch: laptop: Fix possible UAF and simplify generic_acpi_laptop_init() (2022-10-29 16:29:31 +0800)

----------------------------------------------------------------
LoongArch fixes for v6.1-rc3

Remove unused kernel stack padding, fix some build errors/warnings and
two bugs in laptop platform driver.
----------------------------------------------------------------
Huacai Chen (2):
LoongArch: BPF: Avoid declare variables in switch-case
platform/loongarch: laptop: Adjust resume order for loongson_hotkey_resume()

Jinyang He (1):
LoongArch: Remove unused kernel stack padding

Yang Yingliang (1):
platform/loongarch: laptop: Fix possible UAF and simplify generic_acpi_laptop_init()

Yushan Zhou (1):
LoongArch: Use flexible-array member instead of zero-length array

arch/loongarch/include/asm/processor.h | 2 +-
arch/loongarch/include/asm/ptrace.h | 4 ++--
arch/loongarch/kernel/head.S | 3 +--
arch/loongarch/kernel/process.c | 4 ++--
arch/loongarch/kernel/switch.S | 2 +-
arch/loongarch/net/bpf_jit.c | 31 ++++++++++++----------------
drivers/platform/loongarch/loongson-laptop.c | 24 ++++++++++++---------
7 files changed, 34 insertions(+), 36 deletions(-)