From patchwork Wed Mar 17 09:11:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 403066 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp293742jai; Wed, 17 Mar 2021 02:12:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwq3HTjQ3X5IYkDzF74ENte9BsVfveXcQO1VkTGIm78oskf3XMZ9hJW+3H4Cr0RCd9EV2R X-Received: by 2002:a17:907:629e:: with SMTP id nd30mr24071592ejc.407.1615972345506; Wed, 17 Mar 2021 02:12:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615972345; cv=none; d=google.com; s=arc-20160816; b=wByu5VprCVVx9M2GZDl4fExLRlMrepZRDFIL8/TB7kd12rlF1DE3SU7rsNbg1J158F XozLWMe44hKW6L15cD+rQEqqhycBXsGtDoSPfVe1RbzrRNSDCEYsfmmI0ArbyxwLVte3 lmXiwqWRn8An7G7T+MPZ/tx5QbYK5EEv9RpAc+PJRg/G46fQPSMrApk0WjnjaBVVVjpT 7XC4USaNztooBJ2nbYU6x+zsjJObIlOWNphobBTy3cN1AYP406lnfPCjyeTvjNlTF7UG H0KiHtF4C3TuWHyR1eQCgDiCOFoSLkPiAdBOLIoyq020FnkXh98HN2JAkPJt1T8neKp/ GksA== 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=tIEkLMKAtbUUByHxgsDytjqimEjUNe0j+Mn0l5iX50M=; b=fxh+4JKdtxX2xRuob1X0NI/8eI8paFigfClNzMdVfcVtSc93FduZOfTfzN+bltZaBw CgOq14RlfBVOkBr/oAexeUUDoFewQkxOpV8KLFnJ6XCJVUl5sPCfgyqOx+vLrs7eRH9x tWVqcMA9mDaz5Kd1PkUN4ka54T29Plq5YBNgkk47kkgd9F1ACLmS9LbbOOQn+MqC8Ocj 3R+guSXq4HeMYU5b4Q5tiGSvIFl64Bxi/OpSOpAYiuiPj4tRXs0EHGfkifzFlMCDwlvP Z8MnyERkdpw632608fyEIHIaeKfLJnNpcmRozqif9ulrAx4gUu18W89e3jUpTezSwjlV sxGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=beT5usMG; 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: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lo11si16575875ejb.60.2021.03.17.02.12.25 for ; Wed, 17 Mar 2021 02:12:25 -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=beT5usMG; 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 S229900AbhCQJLz (ORCPT ); Wed, 17 Mar 2021 05:11:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229845AbhCQJLg (ORCPT ); Wed, 17 Mar 2021 05:11:36 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70095C061763 for ; Wed, 17 Mar 2021 02:11:36 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id g8so1011102wmd.4 for ; Wed, 17 Mar 2021 02:11: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=tIEkLMKAtbUUByHxgsDytjqimEjUNe0j+Mn0l5iX50M=; b=beT5usMG3If2KF1utJqGVevHtxdNjcQepVLaxWYxU1o3CpqNnj4tOgQTOQbx9uvuLX XAhIUvVibTUp+QlH5m+orjgjE/+qs/LKGKnd2ek1DXKyzpkUCLq1FAU8PhKV38RtXpqb P6uU8D4hoC+FnIoDIvHhFK5CN/uF9UneLa7ytP9q77xdL6XbiQCKM437reUVhm4Iud5p +kIQ2VSGGI6U9A7m/wjWyEcD5WBQ49pNr7Jays6D6HECETN3wCNkcaEVg8177PEFoJvO pWkHO/n/Quxy+54eNEpA5SnYpHALHwveSqjT8auzMH+onsAsK5jRKETYKNXix+ZJfFU3 ZrWg== 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=tIEkLMKAtbUUByHxgsDytjqimEjUNe0j+Mn0l5iX50M=; b=L9EM3wC28blBzSHPAPhilWEdZHoz2GPY7o985g60QUM/LR6WH47Sg9EjEs5PR7UBUf ajsQH0ygx9/ZAG1EjSU6z5Pel0lWNq7WqwOxV6SNkLxT2NIJahoTLwSns3n6OkHHq9pY nsa8/crBGI5whlzM6UaRS3iCtlpBLnTVc0xmO9awhaTHMU/tDwAJnwnWtFkCdwruiGn1 Urx7cmtKmOz/52WFULg8vnZmq4413RN+5IX1BJc3suZOtST9A/hVcSjg2IHkK2TcixR/ Te4Oey2EGtwy2nh0mtKu9iGkzIBqfP6qZQBp+OTyFAf2KiqfY6gh/2TDFYPb2EqQjNkH eCsA== X-Gm-Message-State: AOAM53347BxvysJQYkqyVNeX2dgbD7LUDDKcHUZXXgB99jdiJ0dpiOfE 4tqYOFfRg1ScekykkwM1KdLbGw== X-Received: by 2002:a1c:318b:: with SMTP id x133mr2752054wmx.154.1615972295255; Wed, 17 Mar 2021 02:11:35 -0700 (PDT) Received: from dell.default ([91.110.221.194]) by smtp.gmail.com with ESMTPSA id s83sm1709279wms.16.2021.03.17.02.11.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Mar 2021 02:11:34 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Artur Paszkiewicz , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org Subject: [PATCH 7/8] scsi: isci: port: Make local function 'port_state_name()' static Date: Wed, 17 Mar 2021 09:11:24 +0000 Message-Id: <20210317091125.2910058-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210317091125.2910058-1-lee.jones@linaro.org> References: <20210317091125.2910058-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/isci/port.c:65:13: warning: no previous prototype for ‘port_state_name’ [-Wmissing-prototypes] Cc: Artur Paszkiewicz Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/isci/port.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.27.0 diff --git a/drivers/scsi/isci/port.c b/drivers/scsi/isci/port.c index 448a8c31ba359..5a362ba76d63f 100644 --- a/drivers/scsi/isci/port.c +++ b/drivers/scsi/isci/port.c @@ -62,7 +62,7 @@ #undef C #define C(a) (#a) -const char *port_state_name(enum sci_port_states state) +static const char *port_state_name(enum sci_port_states state) { static const char * const strings[] = PORT_STATES;