Re: [PATCH] scsi: mpt3sas: Use a unified annotation style
From: Johannes Thumshirn
Date: Tue May 21 2024 - 07:36:21 EST
On 20.05.24 13:06, Deming Wang wrote:
> Use a unified annotation style.
>
> Signed-off-by: Deming Wang <wangdeming@xxxxxxxxxx>
> ---
> drivers/scsi/mpt3sas/mpt3sas_scsih.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/scsi/mpt3sas/mpt3sas_scsih.c b/drivers/scsi/mpt3sas/mpt3sas_scsih.c
> index 12d08d8ba538..97062b440e9d 100644
> --- a/drivers/scsi/mpt3sas/mpt3sas_scsih.c
> +++ b/drivers/scsi/mpt3sas/mpt3sas_scsih.c
> @@ -2681,8 +2681,8 @@ scsih_device_configure(struct scsi_device *sdev, struct queue_limits *lim)
> 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.
> + * merged and can eliminate holes created during merging
> + * operation.
> **/
> blk_queue_flag_set(QUEUE_FLAG_NOMERGES,
> sdev->request_queue);
This still isn't the recommended kernel comment style.
/*
* Enable QUEUE_FLAG_NOMERGES flag, so that IOs won't be
* merged and can eliminate holes created during merging
* operation.
*/