Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp632988ybz; Wed, 15 Apr 2020 15:33:58 -0700 (PDT) X-Google-Smtp-Source: APiQypIlMvQnshweWIv36Yynp0L+PiuOVma9kDVXegveQc45y5mfLXPhHf4fEhqjAn06LwqQrUzW X-Received: by 2002:a05:6402:28b:: with SMTP id l11mr21291620edv.156.1586990037869; Wed, 15 Apr 2020 15:33:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586990037; cv=none; d=google.com; s=arc-20160816; b=G2HEimQUTMnWNIeTmdOzkTK3vdtQ65DcLepxZlJ3hfXWfwCn8qd8ikxKLczxn/g22q +fvghDA78MlOMTPTQgWrwlLfuKplOuE8Iu2xbqJ4XPezLlW+i/TP8hHLtFPxZJsvbAg/ AhE54ji4Gn7gwUCKAI4ZrWCCOwUdxaNFQgmp7QyNmJ+FqgA5QBFztCuH2gOooJgFw5tF NwD4IdtzA+oY0kqLChEyz11WOQ9El+5rPbCI4Fk058WRqfJIElmXETYRNwB6nneopDal 0nxmSERnhyeZSCBqbUxZOybULYTl2Cg16Y2fUQ/1fYlJ+ARd3vcYnHJS5Ei8fV/2p2tf RcOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=h3dEr9DKIhQXr8JSIn/bYBwloGL+yURK4HEWVE4w/S8=; b=YjI9feNNrXcfYraWrvQbewu3ZoDiNQB/qi1gulyyVVJL2Pdhn4qSu5UdF4QCWinmB9 45qmRMlxay3u9YvICfcc9tbyVlsjwcDlQhZdEzrY9WDL+hEW7yY3TdjjP6byb66B0frU odQhnhiA4f3VMQh+Hc3XUk5U1sgHDyb9913gqr+anIP2ZHdC2+2UksQ87DN0QcXzeG4O /h4iLID+QaW1vTSHqhg8Ze67sG5jbqdckw4Zw6AEZB3nKvxypm0alZ2taRR9MYmaNeF8 OJ8T94vJX7KXQfopEb3xvaz8BuHeLlmMHmQUokVjuUA2m2PnMR2mZlco4VfgUb1ITK1z T7FQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l18si7126675ejb.405.2020.04.15.15.33.34; Wed, 15 Apr 2020 15:33:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2894447AbgDOIY3 (ORCPT + 99 others); Wed, 15 Apr 2020 04:24:29 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:60500 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2894396AbgDOIYR (ORCPT ); Wed, 15 Apr 2020 04:24:17 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 6B37E7132864A788BC61; Wed, 15 Apr 2020 16:24:15 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Wed, 15 Apr 2020 16:24:06 +0800 From: Jason Yan To: , , , , CC: Jason Yan , Hulk Robot Subject: [PATCH] scsi: qedi: make qedi_ll2_buf_size static Date: Wed, 15 Apr 2020 16:50:29 +0800 Message-ID: <20200415085029.7170-1-yanaijie@huawei.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.28] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following sparse warning: drivers/scsi/qedi/qedi_main.c:44:6: warning: symbol 'qedi_ll2_buf_size' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Jason Yan --- drivers/scsi/qedi/qedi_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qedi/qedi_main.c b/drivers/scsi/qedi/qedi_main.c index b9a5c842a76e..4dd965860c98 100644 --- a/drivers/scsi/qedi/qedi_main.c +++ b/drivers/scsi/qedi/qedi_main.c @@ -45,7 +45,7 @@ module_param(qedi_io_tracing, uint, 0644); MODULE_PARM_DESC(qedi_io_tracing, " Enable logging of SCSI requests/completions into trace buffer. (default off)."); -uint qedi_ll2_buf_size = 0x400; +static uint qedi_ll2_buf_size = 0x400; module_param(qedi_ll2_buf_size, uint, 0644); MODULE_PARM_DESC(qedi_ll2_buf_size, "parameter to set ping packet size, default - 0x400, Jumbo packets - 0x2400."); -- 2.21.1