linux/include/acpi
Rafael J. Wysocki 9825cf2cb5 ACPICA: Define acpi_ut_safe_strncpy() as strscpy_pad() alias
Commit 292db66afd ("ACPICA: Unbreak tools build after switching over
to strscpy_pad()") added an #ifdef based on a __KERNEL__ check which is
sort of nasty to the acpi_ut_safe_strncpy() definition to unbreak ACPICA
tools builds broken by commit 97f7d3f9c9 ("ACPICA: Replace strncpy()
with strscpy_pad() in acpi_ut_safe_strncpy()").  However, that #ifdef
effectively produces dead code when tools are built because they don't
call acpi_ut_safe_strncpy().

Accordingly, drop the existing definition of acpi_ut_safe_strncpy() and
define it as a strscpy_pad() alias.

Fixes: 292db66afd ("ACPICA: Unbreak tools build after switching over to strscpy_pad()")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
[ rjw: Tweak the changelog ]
Link: https://patch.msgid.link/12941764.O9o76ZdvQC@rafael.j.wysocki
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2026-07-01 12:29:24 +02:00
..
platform ACPICA: Define acpi_ut_safe_strncpy() as strscpy_pad() alias 2026-07-01 12:29:24 +02:00
acbuffer.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acconfig.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acexcep.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acnames.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acoutput.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acpi_bus.h Driver core changes for 7.2-rc1 2026-06-15 12:41:17 +05:30
acpi_drivers.h ACPI: PCI: IRQ: Fix INTx GSIs signedness 2026-01-05 19:06:40 +01:00
acpi_io.h
acpi_lpat.h
acpi_numa.h mm/fake-numa: allow later numa node hotplug 2025-01-25 20:22:29 -08:00
acpi.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acpiosxf.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acpixf.h Merge branch 'acpica' 2026-06-11 14:57:55 +02:00
acrestyp.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
actbl.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
actbl1.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
actbl2.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
actbl3.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
actypes.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acuuid.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
apei.h
battery.h ACPI: battery: add devm_battery_hook_register() 2024-07-01 21:22:18 +08:00
button.h
cppc_acpi.h ACPI: CPPC: Add support for CPPC v4 2026-06-01 20:10:05 +02:00
ghes.h ACPI: APEI: GHES: Add devm_ghes_register_vendor_record_notifier() 2026-04-06 16:48:58 +02:00
hed.h
nfit.h
nhlt.h ACPI: NHLT: Streamline struct naming 2024-03-27 16:36:45 +01:00
pcc.h Revert "mailbox/pcc: support mailbox management of the shared buffer" 2026-01-18 14:19:20 -06:00
proc_cap_intel.h ACPI: processor: Introduce acpi_processor_osc() 2023-07-14 17:59:40 +02:00
processor.h ACPI: driver: Do not set acpi_device_class() unnecessarily 2026-03-13 16:48:26 +01:00
reboot.h
video.h ACPI: video: Add Dell UART backlight controller detection 2024-08-19 15:58:35 +02:00