[GIT PULL] ACPI support fixes for 7.2-rc2

From: Rafael J. Wysocki (Intel)

Date: Fri Jul 03 2026 - 14:47:16 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
acpi-7.2-rc2

with top-most commit 973772c7cf647cf4da6badd86c484f9b350eea18

Merge branch 'acpi-tad'

on top of commit dc59e4fea9d83f03bad6bddf3fa2e52491777482

Linux 7.2-rc1

to receive ACPI support fixes for 7.2-rc2.

These fix a coding mistake in the ACPI TAD (Time and Alarm Device)
driver introduced by one of its previous updates and get rid of the ugly
#ifdef __KERNEL__ conditional compliation in acpi_ut_safe_strncpy() by
redefining that function as an alias for strscpy_pad():

- Add a missing ACPI_TAD_AC_WAKE capability check omitted by mistake to
the ACPI TAD driver (Xu Rao)

- Define acpi_ut_safe_strncpy() as an alias for strscpy_pad() which is
viable because that function is only called from kernel code (Rafael
Wysocki)

Thanks!


---------------

Rafael J. Wysocki (1):
ACPICA: Define acpi_ut_safe_strncpy() as strscpy_pad() alias

Xu Rao (1):
ACPI: TAD: Check AC wake capability before enabling wakeup

---------------

drivers/acpi/acpi_tad.c | 2 +-
drivers/acpi/acpica/acutils.h | 2 --
drivers/acpi/acpica/utnonansi.c | 16 ----------------
include/acpi/platform/aclinuxex.h | 1 +
4 files changed, 2 insertions(+), 19 deletions(-)