diff options
author | 2024-07-08 14:16:05 -0700 | |
---|---|---|
committer | 2024-07-10 22:19:05 -0400 | |
commit | af568c7e8292bd96f5a4f3d81dcc099bcfe7cb73 (patch) | |
tree | 409c79460aa7478beccd97d989c1fab31a4c228d /rust/helpers/build_bug.c | |
parent | scsi: ufs: mcq: Inline ufshcd_mcq_vops_get_hba_mac() (diff) | |
download | wireguard-linux-af568c7e8292bd96f5a4f3d81dcc099bcfe7cb73.tar.xz wireguard-linux-af568c7e8292bd96f5a4f3d81dcc099bcfe7cb73.zip |
scsi: ufs: mcq: Make .get_hba_mac() optional
UFSHCI controllers that are compliant with the UFSHCI 4.0 standard report
the maximum number of supported commands in the controller capabilities
register. Use that value if .get_hba_mac == NULL.
Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240708211716.2827751-11-bvanassche@acm.org
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions