Re: scsi: mpt3sas: Fix use-after-free race in event log access

From: Chengfeng Ye

Date: Sun Jan 18 2026 - 03:26:13 EST


> How do you think about to increase the application of scope-based resource management
> occasionally also any more source code places?

Thanks for your suggestion on it. I think it is a very good practice
to get rid of problems like
lock-leak or double-locking, while keeping the code elegant.

I would certainly like to keep the practice while making my future
patch, and help adjust other
code to also use the scope-based locking when appropriate.

Best regards,
Chengfeng