From patchwork Wed Sep 16 14:06:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 7195311 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 143D79F380 for ; Wed, 16 Sep 2015 14:06:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4C4B32081D for ; Wed, 16 Sep 2015 14:06:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6F4D6207C0 for ; Wed, 16 Sep 2015 14:06:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753911AbbIPOGh (ORCPT ); Wed, 16 Sep 2015 10:06:37 -0400 Received: from mail-pa0-f51.google.com ([209.85.220.51]:33116 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753123AbbIPOG3 (ORCPT ); Wed, 16 Sep 2015 10:06:29 -0400 Received: by pacex6 with SMTP id ex6so210879450pac.0; Wed, 16 Sep 2015 07:06:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=2fUpE2b4AZxJacmSYLQcrbb2Cb3Fo4OBwcd3/qXxVXA=; b=AZaceAp/zlGbsTFOSUY8z/V69r9vIOaErXGWtsxD7GAxspmJoMfeCvxSWE3PWw4Ao6 jbadOiR6lgrd0qqVp9nih9kMBaZJBznuSf5kyxdsNnnh4wORy/OOaDODWVW5i5vrH89g LCLwLj0+Gjk7lI/ycXpKCo71twEgZzK7nCtDwyojRJhsjqJUlND/IDx2D/XLuDnD1MD5 2shCg0EnjALIXCxRWb8b4b9t8ewE1oR6c9Sg2AiO+8w/bmWJ1/+V10T+oSGQHJSdUNWa PNLZH3w9TkZGzKp2hp963XPIZg/N3pS/FO5T9JL+KLjhSp3bl5BuYwqMvj3drYbV5xje WQEw== X-Received: by 10.66.254.101 with SMTP id ah5mr58052381pad.10.1442412389244; Wed, 16 Sep 2015 07:06:29 -0700 (PDT) Received: from localhost.localdomain ([49.206.249.64]) by smtp.gmail.com with ESMTPSA id tc8sm28178863pbc.43.2015.09.16.07.06.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 16 Sep 2015 07:06:28 -0700 (PDT) From: Sudip Mukherjee To: Khalid Aziz , "James E.J. Bottomley" Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Sudip Mukherjee Subject: [PATCH] [SCSI] FlashPoint: fix build warning Date: Wed, 16 Sep 2015 19:36:20 +0530 Message-Id: <1442412380-1832-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.9.1 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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 We have been getting a warning about non ANSI function. warning: non-ANSI function declaration of function 'FPT_SccbMgrTableInitAll' Signed-off-by: Sudip Mukherjee Acked-by: Khalid Aziz --- drivers/scsi/FlashPoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/FlashPoint.c b/drivers/scsi/FlashPoint.c index 5c74e4c..867b864 100644 --- a/drivers/scsi/FlashPoint.c +++ b/drivers/scsi/FlashPoint.c @@ -2136,7 +2136,7 @@ static unsigned char FPT_SccbMgr_bad_isr(u32 p_port, unsigned char p_card, * *---------------------------------------------------------------------*/ -static void FPT_SccbMgrTableInitAll() +static void FPT_SccbMgrTableInitAll(void) { unsigned char thisCard;