Re: [PATCH] scsi: megaraid: reduce stack usage in megaraid_cmm_register()
From: Martin K. Petersen
Date: Fri May 22 2026 - 21:39:38 EST
Arnd,
> The megaraid_cmm_register() function has a local copy of mraid_mmadp_t
> on the stack that gets copied into the actual structure used at
> runtime. When -fsanitize=thread is enabled, this causes the
> per-function stack frame to grow beyond the warning limit:
Applied to 7.2/scsi-staging, thanks!
--
Martin K. Petersen