diff options
author | Subhash Jadavani <subhashj@codeaurora.org> | 2017-01-11 01:48:25 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-01-12 04:34:41 +0100 |
commit | 73eba2be9203c0eef37df6939ebba4d34227f284 (patch) | |
tree | ad789fb40795f291297954eca2f22cb15e30dc0a /lib/zlib_inflate | |
parent | scsi: vmw_pvscsi: switch to pci_alloc_irq_vectors (diff) | |
download | linux-73eba2be9203c0eef37df6939ebba4d34227f284.tar.xz linux-73eba2be9203c0eef37df6939ebba4d34227f284.zip |
scsi: ufs: fix arguments order some trace calls
Colin Ian King reported that with commit 7ff5ab473633 ("scsi: ufs: add
tracing support") static analysis is reporting that we may have swapped
arguments on calls to:
trace_ufshcd_runtime_resume,
trace_ufshcd_runtime_suspend,
trace_ufshcd_system_suspend,
trace_ufshcd_system_resume,
and trace_ufshcd_init
Where:
hba->uic_link_state is passed to dev_state
hba->curr_dev_pwr_mode is passed to link_state
This wasn't intentional so it's a bug. This change fixed this bug.
Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Acked-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/zlib_inflate')
0 files changed, 0 insertions, 0 deletions