Re: [PATCH v2] powerpc: Fix PS3 allmodconfig warning

2024-04-22 Thread Michael Ellerman
On Mon, 01 Apr 2024 16:08:31 +0900, Geoff Levand wrote: > The struct ps3_notification_device in the ps3_probe_thread routine > is too large to be on the stack, causing a warning for an > allmodconfig build with clang. > > Change the struct ps3_notification_device from a variable on the stack > to

[PATCH v2] powerpc: Fix PS3 allmodconfig warning

2024-04-01 Thread Geoff Levand
The struct ps3_notification_device in the ps3_probe_thread routine is too large to be on the stack, causing a warning for an allmodconfig build with clang. Change the struct ps3_notification_device from a variable on the stack to a dynamically allocated variable. Reported-by: Arnd Bergmann Signe