Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1193707rwl; Thu, 10 Aug 2023 07:45:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE0GZ3XhNq5wJAHTsiqslt+PiD1pKUcg/qGBTq1goPXA5g9ORwciwDelCybH+bAvc2lT+Bo X-Received: by 2002:a17:90a:4095:b0:269:33cb:e061 with SMTP id l21-20020a17090a409500b0026933cbe061mr2264593pjg.24.1691678742191; Thu, 10 Aug 2023 07:45:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691678742; cv=none; d=google.com; s=arc-20160816; b=gWTTd5VLUH8M1OdHY6m0wZcOVO/Pgv8JX9GauNOD/SC8++xiIj/UsJnSAmKx3l3I6y zvNOdZAMHsqOpvHICE9y3NrFdqQ2OojwQiV/NTRoBRPz+uadCkzNPveoN9UChJX9AV8Q yzrGBnbpChKxBsKQ5neQbib/OiK/7t5+XD3Vl+QKeJmb8oVT0Gc8QVcSYxYEXTvVJzwS dqFdBL4A4YL2yPbAVPw44tP4GWP3/Lt6CRK5Lp5E+al8a0dfyauqTYSK4nr9lTAuvMoZ jPKDcrFAAhbPYEV5Mu+918wtajTdQ5tbHDbumxSgFqNJAgmhegiV3jgprGlIWSJohTgP stBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lo3qp1wpEjo76AGlCo0cbpBnezqrWC1zoaBpT2NqJA4=; fh=vm6DTEtmzEbWmCXgxKi9hfElrLHPQojyHK6CjNj+AcY=; b=xrwpv0FNDIlvhRUp+xEYMO4wUJ9pCvBJGRsmfFprq+WBPOP/iP0n2vAeEC1wxqaH+b 4bLhZ2ieRtmuCR3lnEQ5Vp8GYJqQjiQbSpxKeC4ai7NIDQKYmdc/tdjp4I5wBXKcdqoq dRqB5lsrnO6hqW3mxiyfGoSaMbUnCeuFnon4NGBetLLBPd0ilMvufr2E59DOqsRqz9da 4ppxbhJhcOJt6KEUBnzVdILUVfaDyTB/b0JtRraYd5o1S+BnQSyy8r985nt6Sp4NcNd1 Lokiuxza5lyc3KOZq6XpONpMvwdX/W7M9LVnAGRqew5syzHsQH5AkjAgytEP1VDNOE2p iI/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mmE6w9Za; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nu11-20020a17090b1b0b00b00263aff4ccf0si1798466pjb.3.2023.08.10.07.45.29; Thu, 10 Aug 2023 07:45:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mmE6w9Za; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235638AbjHJOWG (ORCPT + 99 others); Thu, 10 Aug 2023 10:22:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235627AbjHJOWF (ORCPT ); Thu, 10 Aug 2023 10:22:05 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AACFD26BD; Thu, 10 Aug 2023 07:22:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 47E6965D5E; Thu, 10 Aug 2023 14:22:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AAD67C433C7; Thu, 10 Aug 2023 14:22:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691677322; bh=Pw5U4R34UHo1qa7FlbT6kKqWNZNNPz53PW/3LnYPzmI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mmE6w9ZangEwJyl0bzL8nVZ6jjDHA5th1gO/E9ADy/Y1nZ75eRfOWyryiExAFP9pA ja9lflXZ0jCaVYmfWfhNuhWgIx/Vm+0GLyWIYL3F9sYVWjy+q3rTsDzqCy9ltZURDH jV8gflzc0nvW9glXOMtVeeDSHEdhTNjGWxSY7uOyMUUkTpeWRQRkJCSoIA0TvOAwO+ /yt00dCblwGj1tHgh0BhYZ441q/nReP8wvFhAJAYbKe2axRSbhSJRJ7NxP7bQaPFDY GpXf8uYqnqoVZehsfNcueXe4cgdWCB3sNK2RygVCQuhX3x1IAH1RMAfW+Et/uJXNnB qLwUD30C9dadQ== From: Arnd Bergmann To: Andrew Morton , linux-kernel@vger.kernel.org, "James E.J. Bottomley" , "Martin K. Petersen" Cc: Arnd Bergmann , Rob Herring , Bart Van Assche , Jack Wang , linux-scsi@vger.kernel.org Subject: [PATCH 07/17] scsi: qlogicpti: mark qlogicpti_info() static Date: Thu, 10 Aug 2023 16:19:25 +0200 Message-Id: <20230810141947.1236730-8-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230810141947.1236730-1-arnd@kernel.org> References: <20230810141947.1236730-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann The qlogicpti_info() function is only used in this file and should be static to avoid a warning: drivers/scsi/qlogicpti.c:846:13: error: no previous prototype for 'qlogicpti_info' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann --- 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 f88a5421c483f..3b95f7a6216fe 100644 --- a/drivers/scsi/qlogicpti.c +++ b/drivers/scsi/qlogicpti.c @@ -843,7 +843,7 @@ static int qpti_map_queues(struct qlogicpti *qpti) return 0; } -const char *qlogicpti_info(struct Scsi_Host *host) +static const char *qlogicpti_info(struct Scsi_Host *host) { static char buf[80]; struct qlogicpti *qpti = (struct qlogicpti *) host->hostdata; -- 2.39.2