Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp3025005lqo; Tue, 21 May 2024 04:54:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXUaTtcJK7K4Oo61o9fbO0skFn6MpDsdhW3sADg9PqA3xh2c8simJeyoTtJSCHszF8v/E01L9Ig/BxmeGN5+1wmf7rJE6rvi7VIVl7IQQ== X-Google-Smtp-Source: AGHT+IGGvxbd2MqLApUInYR258XHQTouNHbflkOXcFfBhNdWiwyndm+In99Hl643DKTnArOMeDvm X-Received: by 2002:a05:6a00:2e12:b0:6f3:ea8a:f974 with SMTP id d2e1a72fcca58-6f4e029bb36mr37367042b3a.1.1716292451430; Tue, 21 May 2024 04:54:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716292451; cv=pass; d=google.com; s=arc-20160816; b=lEdoXY2kVnOJPOu6MqANTGR4MQnlL1wBIFsROd9YiuG7B6yKiJHtTITobxFnw3u+Cn TfFLbOZoR2EM3Zo/Bn8S32ToRN68jSKKEdQLf0vWrvPiSd8IsifT2CcCXrmgfcREexdB NzJ6O2U+lWmetmgm49QQNZebE/F3azL2eCfnTj05QnsAaAoD6WvxXitmL3Jj+xYTMC/l BaTY1RDIzbQM+lARJDbNdNGRqHSs9ydVWGOiCcp56qa9pthu1EaLgwEgM97qsz4PmOTm C2cOzRutp5QkZuI9FI9JBN8ULUV3mAsPSK7EYLDjeF1/BCa+5+KluvMN0Aytjodb8YCz d1BA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=abuse-reports-to:tuid:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:cc:to:from; bh=Sh9ViIbJEnK90ILIas8cs2j9jnOj5FiFH0cw/RXXYTw=; fh=faQNHQlM15Nh0J1sAhoWgbotCbiz6Ke0rYf4e7kvg/U=; b=o7WFOP3K9nAxuDkkzbGYglCJYN+ryMQInX0Grm9ED2Ip3kdIKQ3MhfTdiUSUH5Ey75 dmhKjtuFpEKpW9QQuQlPVNy6tGVqXyXqZ6pXKb7svcEQzSQWICfG1ZlGBIwg4H0+nCnX lqZhRyQxb9V7NID1NPW0rJvfPfgBR0C/w2DRl/fB7ps9QpN/T4aFPkQFk42ZQaoy8tay TjrdXWl7DiWd5c24csAPtDX9kFSv62P/ECYnC7pYWGh4DyfYdovO87NjMoLgBmlczN+g 8N/k71dBx1+W9iOuhbAGNhwW6Im//MqNr6RkOsuJfNzBqPy1ZpbDFuebmVddUfVlPlHO Hd2w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=inspur.com); spf=pass (google.com: domain of linux-kernel+bounces-184910-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184910-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6583676c5b7si10056058a12.602.2024.05.21.04.54.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 04:54:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184910-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=inspur.com); spf=pass (google.com: domain of linux-kernel+bounces-184910-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184910-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B5C7D281651 for ; Tue, 21 May 2024 11:54:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A380175818; Tue, 21 May 2024 11:54:05 +0000 (UTC) Received: from unicom145.biz-email.net (unicom145.biz-email.net [210.51.26.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ADF716EB6E; Tue, 21 May 2024 11:54:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.51.26.145 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716292445; cv=none; b=jJS0DyHqUPdMDQdmDZGcfWYlEAJ3XHxgrt5sS7rzv7Dpay94pLiixxlemYmEy6ps9vdeMVf/DuL0ax6GxlNhwIeW6SzGK0ybhZulDuSRGxHhmvU5pZeGgzIQPYeEOzmX52w8Ea2JW8LySE1q2QArAjQx4IFVraF75+YRPqeQEOk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716292445; c=relaxed/simple; bh=rqZqvlTQN3mxEP1q6VKOrA/FUSikdRptqwbsPUjohhQ=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=XAU17ToztdFL6veUFsBo3PJoMC1fjHE36vNX6bZPZHGZAYrc4dW8U/Ef/s4pgrcHmLBFWEvbPPZFkEau09lQfdowiiYRLkuZjiMF++uVnriCFao+RjN79Z1Fxt9GpR2rDEgH4c4xPst+bb8WRSBrXB8OY+jZkbCFq02lRQNJBNY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=inspur.com; spf=pass smtp.mailfrom=inspur.com; arc=none smtp.client-ip=210.51.26.145 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=inspur.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=inspur.com Received: from unicom145.biz-email.net by unicom145.biz-email.net ((D)) with ASMTP (SSL) id SIX00151; Tue, 21 May 2024 19:53:51 +0800 Received: from localhost.localdomain (10.94.10.66) by jtjnmail201605.home.langchao.com (10.100.2.5) with Microsoft SMTP Server id 15.1.2507.35; Tue, 21 May 2024 19:53:50 +0800 From: Deming Wang To: , CC: , , , Deming Wang Subject: [PATCH] scsi: mpt3sas: Use a unified annotation style Date: Tue, 21 May 2024 07:53:45 -0400 Message-ID: <20240521115345.1552-1-wangdeming@inspur.com> X-Mailer: git-send-email 2.31.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain tUid: 202452119535130275a12e75145b5469335c3b1f35b93 X-Abuse-Reports-To: service@corp-email.com Abuse-Reports-To: service@corp-email.com X-Complaints-To: service@corp-email.com X-Report-Abuse-To: service@corp-email.com Use a unified annotation style. Signed-off-by: Deming Wang --- 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