From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A356FC61DA4 for ; Sat, 4 Mar 2023 00:35:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230061AbjCDAfm (ORCPT ); Fri, 3 Mar 2023 19:35:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230015AbjCDAfF (ORCPT ); Fri, 3 Mar 2023 19:35:05 -0500 Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9B986A9E8 for ; Fri, 3 Mar 2023 16:34:24 -0800 (PST) Received: by mail-pl1-f180.google.com with SMTP id y11so4571736plg.1 for ; Fri, 03 Mar 2023 16:34:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677890064; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2E38+Z4Kj94CPrSnz/WfZRtH1QTTtivsr8lXuwNctz8=; b=u3vZ/WO1yHgF9m7znEkbgeM2PRsnvXjQ10FhKozGsVa64ZSL0wrafcTi9lqRFJ1jr2 LHQcgg+JDYETLcLXliNiMUXcGS8q1KsiKGDJuwNJ4/jVPQOLNIJxafds8DdrSgKsyM9i AktC+ZLH7jZlxdH2ZyxinP7M2CUpNJV2dleAtxu6V32MDwSmoNlBOJt2DwFOBe9TfqEv PONyzKBIo6BRwXkNIyRGPKX6N2QUN1HN2du03Md1SbnkAlxiEu2ki3cGMzFYWmu+8FPH e2EclRgO2cYAAMILwpc6lgTxzV2tI6Bd+R3gECxgVlGm2pWujuobjvnl/HLyxfsuCJ4V rgww== X-Gm-Message-State: AO0yUKUmYoIpxlDu2txNHtJd2pDNfJq8WkYASnPS4LOpyelNdNPLFM/U 58H+ezz9Q7MjWmHCIgapLdw= X-Google-Smtp-Source: AK7set8qmBOnBZ1DKhqbeot/JFudT+O0OSrAKM1fs+8TF/QdfSOjpyZzx3pwjs39Z85amh+sT0mWsg== X-Received: by 2002:a17:902:ec8d:b0:19e:7a2a:2ea9 with SMTP id x13-20020a170902ec8d00b0019e7a2a2ea9mr4351219plg.14.1677890064304; Fri, 03 Mar 2023 16:34:24 -0800 (PST) Received: from bvanassche-linux.mtv.corp.google.com ([2620:15c:211:201:efb8:1cdc:a06f:1b53]) by smtp.gmail.com with ESMTPSA id kk15-20020a170903070f00b00189743ed3b6sm2071078plb.64.2023.03.03.16.34.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 16:34:23 -0800 (PST) From: Bart Van Assche To: "Martin K . Petersen" Cc: linux-scsi@vger.kernel.org, Bart Van Assche , "James E.J. Bottomley" Subject: [PATCH 68/81] scsi: qlogicpti: Declare SCSI host template const Date: Fri, 3 Mar 2023 16:30:50 -0800 Message-Id: <20230304003103.2572793-69-bvanassche@acm.org> X-Mailer: git-send-email 2.40.0.rc0.216.gc4246ad0f0-goog In-Reply-To: <20230304003103.2572793-1-bvanassche@acm.org> References: <20230304003103.2572793-1-bvanassche@acm.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Make it explicit that the SCSI host template is not modified. Signed-off-by: Bart Van Assche --- drivers/scsi/qlogicpti.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qlogicpti.c b/drivers/scsi/qlogicpti.c index 8c961ff03fcd..6fa8c78c3116 100644 --- a/drivers/scsi/qlogicpti.c +++ b/drivers/scsi/qlogicpti.c @@ -1287,7 +1287,7 @@ static int qlogicpti_reset(struct scsi_cmnd *Cmnd) return return_status; } -static struct scsi_host_template qpti_template = { +static const struct scsi_host_template qpti_template = { .module = THIS_MODULE, .name = "qlogicpti", .info = qlogicpti_info,