Re: [PATCH] block: replace deprecated strncpy with strscpy

2023-10-18 Thread Alison Schofield
On Wed, Oct 18, 2023 at 03:39:59PM -0700, Justin Stitt wrote: > I have a feeling I may have botched the subject line for this patch. > Can anyone confirm if it's good or not? > > Automated tooling told me that this was the most common patch > prefix but it may be caused by large patch series that

Re: [PATCH][next] UAPI: ndctl / acpi: intel: Avoid multiple -Wflex-array-member-not-at-end warnings

2025-02-13 Thread Alison Schofield
On Thu, Feb 13, 2025 at 03:29:12PM +1030, Gustavo A. R. Silva wrote: > -Wflex-array-member-not-at-end was introduced in GCC-14, and we are > getting ready to enable it, globally. > > So, in order to avoid ending up with flexible-array members in the > middle of other structs, we use the `__struct_

Re: [PATCH v2][next] UAPI: ndctl / acpi: intel: Avoid multiple -Wflex-array-member-not-at-end warnings

2025-02-13 Thread Alison Schofield
->nd_command, > and so on. > > So, with these changes, fix 12 of the following warnings: > > drivers/acpi/nfit/intel.c:692:35: warning: structure containing a flexible > array member is not at the end of another structure > [-Wflex-array-member-not-at-end] > >