Re: [PATCH v4] scsi: ufs: Zero utp_upiu_req at the beginning of each command

From: Martin K. Petersen
Date: Thu Oct 03 2024 - 21:58:15 EST



Avri,

> This patch introduces a previously missing step: zeroing the
> `utp_upiu_req` structure at the beginning of each upiu transaction.
> This ensures that the upiu request fields are properly initialized,
> preventing potential issues caused by residual data from previous
> commands.
>
> While at it, re-use some of the common initializations for query and
> command upiu.

Applied to 6.13/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering