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

Martin K. Petersen martin.petersen at oracle.com
Tue Feb 3 19:27:14 PST 2026


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



More information about the Linux-mediatek mailing list