2024-05-21 11:54:11

by Deming Wang

[permalink] [raw]
Subject: [PATCH] scsi: mpt3sas: Use a unified annotation style

Use a unified annotation style.

Signed-off-by: Deming Wang <[email protected]>
---
drivers/scsi/mpt3sas/mpt3sas_scsih.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/drivers/scsi/mpt3sas/mpt3sas_scsih.c b/drivers/scsi/mpt3sas/mpt3sas_scsih.c
index 12d08d8ba538..9c47cc064970 100644
--- a/drivers/scsi/mpt3sas/mpt3sas_scsih.c
+++ b/drivers/scsi/mpt3sas/mpt3sas_scsih.c
@@ -2680,10 +2680,11 @@ scsih_device_configure(struct scsi_device *sdev, struct queue_limits *lim)
pcie_device_put(pcie_device);
spin_unlock_irqrestore(&ioc->pcie_device_lock, flags);
mpt3sas_scsih_change_queue_depth(sdev, qdepth);
- /* Enable QUEUE_FLAG_NOMERGES flag, so that IOs won't be
- ** merged and can eliminate holes created during merging
- ** operation.
- **/
+ /*
+ * Enable QUEUE_FLAG_NOMERGES flag, so that IOs won't be
+ * merged and can eliminate holes created during merging
+ * operation.
+ */
blk_queue_flag_set(QUEUE_FLAG_NOMERGES,
sdev->request_queue);
lim->virt_boundary_mask = ioc->page_size - 1;
--
2.31.1