Message ID | 20200723122446.1329773-38-lee.jones@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a54:2c11:0:0:0:0:0 with SMTP id g17csp1148196ecp; Thu, 23 Jul 2020 05:25:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyE/dd8I+zcTCuNLVbfsXKv7m7dupqCvXoeJVhu1wXOa3jyCj4cuZMbKJAnEFOihvYGf9y0 X-Received: by 2002:a17:906:69d3:: with SMTP id g19mr4293681ejs.402.1595507155356; Thu, 23 Jul 2020 05:25:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595507155; cv=none; d=google.com; s=arc-20160816; b=TQLdTrmIPTaWlDUMPWq0ZportDg7oPEJtl+X+ZbvXo2YkF3ZzXqlAOkaDGmga9ipBg BRjchnn4I6doenDN0/4SbeDuc2qF1gas6gGiutajHLn3Jxk34tSqDgemzbeh9cRsht8m IbmHVTZ/RMTBf9QxRxzq3J2I+nDcfL19ziPAN4PHNNle9c7HXIjvgq0YnjEM/609DGab zmo6qecJbb13Ml/KIXSFEgdOBfqzvTv8ywysCQGhd+Sn/Rcoz/SwPtcU0Lf1p1TKUjKa JTlKT9cXXbk/QFJg6UTXNVkOXncxbOEGZTdw7EbsFeXlCCJUKa+lE8nE+3XgPLLJelFk clGg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lILTThezBBjt1SaEOrJ5cCFNVhfL0JgzA9PlnOUOSZ0=; b=hE2A3wXC7KXSAVbBNxGODr3V0cLnE9NM12MsNWN3SmIAlck5bHxq6GjOFD+6C8o771 rN8dEExGuL64SwuF2/Yg46Fyp5W78LRnjPr0lkl7z3BNx8ePtsFdhV5et4JH1562eWv7 nD2GGyIFpjz1U/kZPMLGjcyHJCmwdVP6maQXLsJYZBnBkTjcPlTjN8P7SqDlPEiD1ozr cQJ+mxNlvXbWHuqwx+SxApTXEFM51GpMTLSNYD5IDYwP1yePbN/NR/xKk6jVrakFqhDH Hxuh1Os5+mZHJoE0CA3WNi1zE5nX5kKeUDwRZkWfQQJDvjSEn8VzXflnr1WIkbo5+2DA 6ypQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="cF/qDwLu"; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-scsi-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n7si826681ejl.448.2020.07.23.05.25.55 for <patch@linaro.org>; Thu, 23 Jul 2020 05:25:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="cF/qDwLu"; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729123AbgGWMZi (ORCPT <rfc822;patch@linaro.org>); Thu, 23 Jul 2020 08:25:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729115AbgGWMZh (ORCPT <rfc822; linux-scsi@vger.kernel.org>); Thu, 23 Jul 2020 08:25:37 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6E1AC0619DC for <linux-scsi@vger.kernel.org>; Thu, 23 Jul 2020 05:25:36 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id c80so4796473wme.0 for <linux-scsi@vger.kernel.org>; Thu, 23 Jul 2020 05:25:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lILTThezBBjt1SaEOrJ5cCFNVhfL0JgzA9PlnOUOSZ0=; b=cF/qDwLuZ3kSlDgfOjMgsjZ/zgg8VcNgh/irkdLg65eI4YGX/EJnsb6zFuWrudDys/ M+Qps5AKnfK3YYlKDNS+VwBMfIQr0SwE5OjAdl1Fql26eTQnrAJHSYv1V2OtKIMEvO4g q1p08Gl13ghVrzSOqppm1PkM0dWYOMdlvJyfaGZ7jobCoY7kFFT1Lxy2Jf7U/vmuB5Ge 6KK19t9Lyk8EnqbB9JQbR0ttlRt/4cXQfQn0l3Nw9VhS8hrciqJCSsFxnnCyXVJehcU6 Cez5bfFb7D8LD7OCQcmbjnMSqFcyHSczjFuITPE6ZISp99ig2Tcsug4kQ5rhA6Vp2Q8B 7qjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lILTThezBBjt1SaEOrJ5cCFNVhfL0JgzA9PlnOUOSZ0=; b=IkK/PausApbTmt5RI9MvghrImTA99zTk8TVhJY4OAl4HQi0nWVTdoktQL8k5g77jGo g7Zu6kD6CqoIyKHLkW6Rjv6/fyYA9JwPm+yDZc8Q2h3PMI3Pu/AmR8x13eTUEnZmLFk/ pFFxgbtCbHD+OuZK6UEmNempgTDVuqwMJofE7E1IsIyK8EkmQGD27Tdtf66zO3BlOZoK oh2+sChD9eJx5X4Fn6ob+UHzcEfPggaP16+e7Ne8fZoqADP8BLgGFCJa1ppY2r43JD0o lNaKOkiYip/MuqucbS78k89buDcSr21eEfHh5LKJBICVEDVPRJ2wRN/GvbctVg7GBciX Yxkw== X-Gm-Message-State: AOAM533Dsw0wMwz1EmoXEW7zQM6tydSww4cAqBmUdB43aK0zRcynk5TN GDhaGwO2UR6A0TfakeOvrPLbfg== X-Received: by 2002:a1c:750a:: with SMTP id o10mr4120800wmc.165.1595507135701; Thu, 23 Jul 2020 05:25:35 -0700 (PDT) Received: from localhost.localdomain ([2.27.167.73]) by smtp.gmail.com with ESMTPSA id j5sm3510651wma.45.2020.07.23.05.25.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jul 2020 05:25:35 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Lee Jones <lee.jones@linaro.org>, QLogic-Storage-Upstream@cavium.com Subject: [PATCH 37/40] scsi: qedi: qedi_iscsi: Staticify non-external function 'qedi_get_iscsi_error' Date: Thu, 23 Jul 2020 13:24:43 +0100 Message-Id: <20200723122446.1329773-38-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200723122446.1329773-1-lee.jones@linaro.org> References: <20200723122446.1329773-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org |
Series |
Set 5: Penultimate set of SCSI related W=1 warnings
|
expand
|
diff --git a/drivers/scsi/qedi/qedi_iscsi.c b/drivers/scsi/qedi/qedi_iscsi.c index 425e665ec08b2..c14ac7882afac 100644 --- a/drivers/scsi/qedi/qedi_iscsi.c +++ b/drivers/scsi/qedi/qedi_iscsi.c @@ -1546,7 +1546,7 @@ static const struct { }, }; -char *qedi_get_iscsi_error(enum iscsi_error_types err_code) +static char *qedi_get_iscsi_error(enum iscsi_error_types err_code) { int i; char *msg = NULL;
Fixes the following W=1 kernel build warning(s): drivers/scsi/qedi/qedi_iscsi.c:1549:7: warning: no previous prototype for ‘qedi_get_iscsi_error’ [-Wmissing-prototypes] Cc: QLogic-Storage-Upstream@cavium.com Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/scsi/qedi/qedi_iscsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1