On Mon, Jan 23, 2023 at 11:11:00AM +0100, Lukas Wunner wrote: > Gregory Price reports a WARN splat with CONFIG_DEBUG_OBJECTS=y upon CXL > probing because pci_doe_submit_task() invokes INIT_WORK() instead of > INIT_WORK_ONSTACK() for a work_struct that was allocated on the stack. > > All callers of pci_doe_submit_task() allocate the work_struct on the > stack, so replace INIT_WORK() with INIT_WORK_ONSTACK() as a backportable > short-term fix. > > ... snip ... > Reported-by: Gregory Price <gregory.price@xxxxxxxxxxxx> Tested-by: Gregory Price <gregory.price@xxxxxxxxxxxx> Reviewed-by: Gregory Price <gregory.price@xxxxxxxxxxxx>