Re: [PATCH] scsi: ufs: mediatek: Fix page faults in ufs_mtk_clk_scale trace event

From: Martin K. Petersen

Date: Tue Feb 03 2026 - 22:27:55 EST



Keita,

> The ufs_mtk_clk_scale trace event currently stores the address of the
> name string directly via __field(const char *, name). This pointer may
> become invalid after the module is unloaded, causing page faults when
> the trace buffer is subsequently accessed.

Applied to 6.20/scsi-staging, thanks!

--
Martin K. Petersen