Re: [GIT PULL] ACPI support fixes and cleanups for 7.2-rc1
From: Rafael J. Wysocki
Date: Tue Jun 30 2026 - 07:49:23 EST
On Monday, June 29, 2026 3:15:12 PM CEST Rafael J. Wysocki wrote:
> On Monday, June 29, 2026 2:22:51 PM CEST Rafael J. Wysocki (Intel) wrote:
> > On Fri, Jun 26, 2026 at 10:14 PM Linus Torvalds
> > <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> > >
> > > On Fri, 26 Jun 2026 at 10:54, Rafael J. Wysocki <rafael@xxxxxxxxxx> wrote:
> > >
> > > How about just adding a trivial strncpy_pad() to
> > > <acpi/platform/acenv.h> or something. A place that already knows about
> > > the whole "I'm building the app side" now.
> > >
> > > Hmm?
> >
> > Something like that or define acpi_ut_safe_strncpy() as an alias for
> > strncpy_pad() when that's available.
> >
> > I'll figure this out.
Interestingly enough, the ACPICA tools don't even call acpi_ut_safe_strncpy(),
so if it is defined as an strncpy_pad() alias, the original definition of it
can be dropped entirely.
I'm going to make this change.