aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2024-07-08 14:16:00 -0700
committerMartin K. Petersen <[email protected]>2024-07-10 22:19:04 -0400
commitf4750af7081d0466c187f5b72272d07148d75e67 (patch)
tree538c0ef5c8890bc8c9eeb2058366b19525d9d35c /tools/perf/util/scripting-engines/trace-event-python.c
parentb53eb9a050d76fc695258e04384e71b3fbb1e7d5 (diff)
scsi: ufs: core: Initialize hba->reserved_slot earlier
Move the hba->reserved_slot and the host->can_queue assignments from ufshcd_config_mcq() into ufshcd_alloc_mcq(). The advantages of this change are as follows: - It becomes easier to verify that these two parameters are updated if hba->nutrs is updated. - It prevents unnecessary assignments to these two parameters. While ufshcd_config_mcq() is called during host reset, ufshcd_alloc_mcq() is not. Cc: Can Guo <[email protected]> Reviewed-by: Peter Wang <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions