From patchwork Mon Aug 31 20:48:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Smart X-Patchwork-Id: 7101531 Return-Path: X-Original-To: patchwork-linux-scsi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 771DF9F32B for ; Mon, 31 Aug 2015 20:48:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9EB6D206A3 for ; Mon, 31 Aug 2015 20:48:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B083B206A9 for ; Mon, 31 Aug 2015 20:48:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753177AbbHaUsc (ORCPT ); Mon, 31 Aug 2015 16:48:32 -0400 Received: from mail-qk0-f169.google.com ([209.85.220.169]:34441 "EHLO mail-qk0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752860AbbHaUs3 (ORCPT ); Mon, 31 Aug 2015 16:48:29 -0400 Received: by qkct7 with SMTP id t7so16742430qkc.1 for ; Mon, 31 Aug 2015 13:48:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=avagotech.com; s=google; h=date:from:to:subject:message-id:user-agent:mime-version :content-type:content-transfer-encoding; bh=2/FTTjFKca36cE3PZD0/ilF5OA2Jl0wEeniwgETUsks=; b=l/oYMCgT/pOVrWtW3wcwsl/xdrYxE9QU10fzsLJ9jISlh94DKn/Go2mDfOcv1ac6f5 /6OuprJUj+t8CBG+TjPObQi6cew5IGjwniI5/s0yvx0ZF+0yotLhw8wu7CZYGOR0IH2s XB2ahMjzCt7qQWKb178VNg7ou2Z1QcyAhUp0U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:user-agent :mime-version:content-type:content-transfer-encoding; bh=2/FTTjFKca36cE3PZD0/ilF5OA2Jl0wEeniwgETUsks=; b=NOAdcaqjDT0JMOZ1F/2zVyz0udIO+nT8IYOdLOwN5DEA0ouI2xLWdz8Bk4568c9e0t qSDwx3ZaN4OWNO//n4eqzMWZdvF0JJUbEYemU5ETX3u5IPvseagGFY92tgu+4B5zvdks x3tcoAyUaMYEUG02/h9SpJrpQxlDw6XiwoN6mWdAy+ayyMexbL6MVHkcDSUPRvkVDO4e f4LOXENB5AxoFxqwI+rritlgLFrNZXmXr8LwlSBHRXDei0H6Zprc+dfHvHfRXxAOBG+g 58AqIi1IDYlOAsBzFcLmG3MDbvDMUwWGtjjFuyrocZS1T19xR8Me+q1Obs2mCxD2TyBN 0fcA== X-Gm-Message-State: ALoCoQnXaYap6P9yfGp/fBcl1Ch+6/TYaM6HyiTR5CEIr3VW7aZHUAO56Evo2h+54lxaFPq7byox X-Received: by 10.55.27.27 with SMTP id b27mr13062356qkb.4.1441054109103; Mon, 31 Aug 2015 13:48:29 -0700 (PDT) Received: from myfc17 (c-75-67-235-135.hsd1.nh.comcast.net. [75.67.235.135]) by smtp.gmail.com with ESMTPSA id f9sm9449975qhe.7.2015.08.31.13.48.27 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 31 Aug 2015 13:48:28 -0700 (PDT) Date: Mon, 31 Aug 2015 16:48:13 -0400 From: james.smart@avagotech.com (James Smart) To: linux-scsi@vger.kernel.org Subject: [PATCH 06/14] lpfc:Make the function lpfc_sli4_mbox_completions_pending static in order to comply with function prototype Message-ID: <55e4bd8d.880iZVpjZfJsbEZL%james.smart@avagotech.com> User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Nicholas Krause This makes the function lpfc_sli4_mbox_completion's definition static now in order to comply with its prototype being also declared as static too. Signed-off-by: Nicholas Krause Signed-off-by: James Smart Reviewed-by: Sebastian Herbszt Reviewed-by: Hannes Reinecke --- drivers/scsi/lpfc/lpfc_sli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c index 4feb931..95d53c7 100644 --- a/drivers/scsi/lpfc/lpfc_sli.c +++ b/drivers/scsi/lpfc/lpfc_sli.c @@ -6696,7 +6696,7 @@ lpfc_mbox_timeout(unsigned long ptr) * This function checks if any mailbox completions are present on the mailbox * completion queue. **/ -bool +static bool lpfc_sli4_mbox_completions_pending(struct lpfc_hba *phba) {