diff options
author | Avri Altman <avri.altman@wdc.com> | 2024-09-21 09:23:06 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-10-03 22:00:08 -0400 |
commit | 43abe48d95fee8816f79e085ea9c86e4f65607e7 (patch) | |
tree | 3b5e3eda75fcd5d61ac6a1e9e04a89aa76101202 /tools/perf/scripts/python/task-analyzer.py | |
parent | 71ef4e6b05ae0a1b6bd8ba864815b01e041dfd10 (diff) | |
download | linux-43abe48d95fee8816f79e085ea9c86e4f65607e7.tar.gz linux-43abe48d95fee8816f79e085ea9c86e4f65607e7.tar.bz2 linux-43abe48d95fee8816f79e085ea9c86e4f65607e7.zip |
scsi: ufs: core: Zero utp_upiu_req at the beginning of each command
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.
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Avri Altman <avri.altman@wdc.com>
Link: https://lore.kernel.org/r/20240921062306.56019-1-avri.altman@wdc.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions