[PATCH v2] HID: ishtp-hid-client: replace fake-flex arrays with flex-array members

2024-09-22 Thread Kees Cook
From: Erick Archer One-element arrays as fake flex arrays are deprecated[1] as the kernel has switched to C99 flexible-array members instead. This case, however, has more complexity because it is a flexible array of flexible arrays and this patch needs to be ready to enable the new compiler flag

Re: [REGRESSION][BISECTED] Cannot boot Lichee Pi 4A with FORTIFY_SOURCE enabled

2024-09-22 Thread Kees Cook
On Sun, Sep 22, 2024 at 04:18:39PM -0400, Jason Montleon wrote: > Thank you for the quick reply! I am using the Fedora 40 packaged > version of gcc, gcc-14.1.1-1.fc40.riscv64. Great! Thanks for the details. > I originally noticed this while testing a build of the Fedora RISC-V > .config on Fedora

Re: [REGRESSION][BISECTED] Cannot boot Lichee Pi 4A with FORTIFY_SOURCE enabled

2024-09-22 Thread Jason Montleon
On Sat, Sep 21, 2024 at 10:42 PM Kees Cook wrote: > > > > On September 21, 2024 10:42:11 AM PDT, Jason Montleon > wrote: > >Starting with 6.11-rc1 I can no longer boot the Lichee Pi 4A with > >FORTIFY_SOURCE enabled. This works on 6.10 up to at least 6.10.11. > >However, with 6.11 I get no outpu