Thread (52 messages) 52 messages, 7 authors, 2026-01-09

Re: [PATCH v4 09/25] scsi: ufs: mediatek: Rework the crypt-boost stuff

From: Peter Wang (王信友) <peter.wang@mediatek.com>
Date: 2026-01-06 13:23:06
Also in: linux-devicetree, linux-mediatek, linux-phy, linux-scsi, lkml

On Mon, 2026-01-05 at 09:05 +0100, Nicolas Frattaroli wrote:
On Wednesday, 24 December 2025 07:16:34 Central European Standard
Time Peter Wang (王信友) wrote:
quoted
On Thu, 2025-12-18 at 13:54 +0100, Nicolas Frattaroli wrote:
quoted
-
-static void ufs_mtk_init_boost_crypt(struct ufs_hba *hba)
+static int ufs_mtk_init_boost_crypt(struct ufs_hba *hba)
Hi Nicolas,

Please do not change the return type if you are not checking the
return
value.




Should free the cfg memory?
It's a devres alloc. It'll get freed on driver removal automatically.
Freeing it manually would be a double-free once the driver unloads.

Hi Nicolas,

Got it. Please feel free to add my review tag when you correct the
return type.

Thanks.
Peter
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help