From patchwork Thu Jul 23 12:24:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 247070 Delivered-To: patch@linaro.org Received: by 2002:a54:2c11:0:0:0:0:0 with SMTP id g17csp1149408ecp; Thu, 23 Jul 2020 05:27:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhqurk2l3u1onlQdsIlTWUS64gdmmrr2V+VlETllhbbigp3cD7lmy2ixicbfMzGyZ+xP/L X-Received: by 2002:aa7:d650:: with SMTP id v16mr3871229edr.361.1595507257053; Thu, 23 Jul 2020 05:27:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595507257; cv=none; d=google.com; s=arc-20160816; b=TrcTAYjacsT9zaFg4cx7pVkrKzVTYVfR/44G/uQAoRG2gt9MHSL9CdyjRmxDfD7Pd1 J7vgoCX8F2ErW9v24ykkSge2ksD0myxPgWM78nK2DiUuvsBiFM5n9PAsMUsAInQDtiJE kdavU6BFMP3cjo0B2411P6mda3Buv0afEEHVa1CTqjhmmAx/s0b+N2d5bpIRh4RI2GWN Gy0RMX9Q6+A7k7cqZTD5hNLAxtSCH4k/0PeJWh5z+BgoGpeZwDUtg+JHRaV6HRKSc0qK xqieYslpqhVeMWNoRlLPLRN5YwtUMCITx2OY2lF3JnfrLcDAK905Te/4/AAKawhzSlQU nzKQ== 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=80v1DBRW/qsu59LvyeMIeuQFI8l1Hk1nu3w4AijohsI=; b=axTMvsV1r8jJ8JewD9qBQxGRYP+wssg6pxuVB7OZhb30q2dM9QT9m3n36Rye8yATH6 Vu/qKMjm09Qujo+rxPxYgscXGQw+AeG278VF3GuvNqql4HHxsHeP5hONXmGryXAh68z9 F73KZTSB6Wb1g165YlRxu5a0Pl4WA+ZsJQdenTJj53lPpJU5w5UYbydmWg1dRn0Cx7kx bm+CZ3LEgGqE/ZEVMPloaaMFuVB9rIKAQtVndk+09XaLggjT+zR0AxXNmuj6CMfgB02a DTtYvOWVVRJNNC08w3PHqA3iLC+P0lKLbqFrq6kE0GYTxvMspZu/fDMY3yO9IPkD5EEd HMGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xaBW4zXU; 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 a24si1927245ejg.331.2020.07.23.05.27.36 for ; Thu, 23 Jul 2020 05:27:37 -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=xaBW4zXU; 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 S1728946AbgGWM1d (ORCPT ); Thu, 23 Jul 2020 08:27:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728874AbgGWMY7 (ORCPT ); Thu, 23 Jul 2020 08:24:59 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CC9FC0619DC for ; Thu, 23 Jul 2020 05:24:59 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id f2so4964622wrp.7 for ; Thu, 23 Jul 2020 05:24:59 -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=80v1DBRW/qsu59LvyeMIeuQFI8l1Hk1nu3w4AijohsI=; b=xaBW4zXUzVy6HWSnFb8niReGfzTgkh/3kLRCus5uoYeWHhRGske4Gp63MyS/UpkOHr psb63W7tbz5Y4zOZD89k51FPGLkAaRW563Uayx4efO7OrzyZf/0G5CAL/LdlOpGNvUiI c7K6A6r3Nu+hwe7BJCJ21MZvB1Bcu7KJNPQzZqTHinItMf6ooHtSuANOGHy99tSDOlBA CwAVQJ5DJ9eNb4lyARBB3mNT2C+ZiTIJXgd0vxfit4c7uzWNEejenJAzHvRSr1sC77rh kDF8VKXBJ/LbcIn3jDun8mS2RKYuk2C7xGAB7f7byAhsRtYuX9ok27Oj+H3v47XO4lcS Dogw== 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=80v1DBRW/qsu59LvyeMIeuQFI8l1Hk1nu3w4AijohsI=; b=DFxYwJeS6m8mxGdFl3MX+DA5EP1X25VzAJ/7LvliA8Cp2JMYvG4LWqAvv1DIj2CouG 1OzlzYCXK0sUVuaWdubOi7ZF7WqQYy91YcChMoIGGOsP550htmVzcWn9Fc66BYL/xE2C J3WrD2CMCVEqH/zonGe2A1HZ2i4EwyzsN4kQHMxQkYsJAh/nwOIz6nz4Dh7P/I0VbSmp AtSFcuc8Kb85Vii+Cy/Wn7eYW8vQztwvM15imkiBIskgrFKwJLisO+jUqrjeKc835V8u HNR208Hlqu10Ldmd0u0k56bMARd53kysU1fnFA70CDFcdo68h4Vy01gIJGTfB5Agrl+r n9Ug== X-Gm-Message-State: AOAM530o+2M0LtdqGiYy9dg5BJwiyGPJ7ebBvq7w6LKr8qHXgJI1CB9s VIvYzJ+6PQPf5DNpHG9KRCbj0Q== X-Received: by 2002:adf:ec8b:: with SMTP id z11mr3735247wrn.51.1595507098335; Thu, 23 Jul 2020 05:24:58 -0700 (PDT) Received: from localhost.localdomain ([2.27.167.73]) by smtp.gmail.com with ESMTPSA id j5sm3510651wma.45.2020.07.23.05.24.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jul 2020 05:24:57 -0700 (PDT) From: Lee Jones To: jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Lee Jones , Anil Gurumurthy , Sudarsana Kalluru Subject: [PATCH 07/40] scsi: bfa: bfa_port: Staticify local functions Date: Thu, 23 Jul 2020 13:24:13 +0100 Message-Id: <20200723122446.1329773-8-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 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org These calls are not invoked externally. Fixes the following W=1 kernel build warning(s): drivers/scsi/bfa/bfa_port.c:760:1: warning: no previous prototype for ‘bfa_cee_isr’ [-Wmissing-prototypes] 760 | bfa_cee_isr(void *cbarg, struct bfi_mbmsg_s *m) | ^~~~~~~~~~~ drivers/scsi/bfa/bfa_port.c:796:1: warning: no previous prototype for ‘bfa_cee_notify’ [-Wmissing-prototypes] 796 | bfa_cee_notify(void *arg, enum bfa_ioc_event_e event) | ^~~~~~~~~~~~~~ Cc: Anil Gurumurthy Cc: Sudarsana Kalluru Signed-off-by: Lee Jones --- drivers/scsi/bfa/bfa_port.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1 diff --git a/drivers/scsi/bfa/bfa_port.c b/drivers/scsi/bfa/bfa_port.c index 4511ec865f06a..cfe2c9c336bfd 100644 --- a/drivers/scsi/bfa/bfa_port.c +++ b/drivers/scsi/bfa/bfa_port.c @@ -756,7 +756,7 @@ bfa_cee_reset_stats(struct bfa_cee_s *cee, * @return void */ -void +static void bfa_cee_isr(void *cbarg, struct bfi_mbmsg_s *m) { union bfi_cee_i2h_msg_u *msg; @@ -792,7 +792,7 @@ bfa_cee_isr(void *cbarg, struct bfi_mbmsg_s *m) * @return void */ -void +static void bfa_cee_notify(void *arg, enum bfa_ioc_event_e event) { struct bfa_cee_s *cee = (struct bfa_cee_s *) arg;