summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorAvri Altman <avri.altman@wdc.com>2024-09-21 09:23:06 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2024-10-04 05:00:08 +0300
commit43abe48d95fee8816f79e085ea9c86e4f65607e7 (patch)
tree3b5e3eda75fcd5d61ac6a1e9e04a89aa76101202 /scripts/lib/kdoc/kdoc_files.py
parent71ef4e6b05ae0a1b6bd8ba864815b01e041dfd10 (diff)
downloadlinux-43abe48d95fee8816f79e085ea9c86e4f65607e7.tar.xz
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions