From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C14CCA9EA0 for ; Tue, 22 Oct 2019 13:20:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 48B8A21A4A for ; Tue, 22 Oct 2019 13:20:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732052AbfJVNUD (ORCPT ); Tue, 22 Oct 2019 09:20:03 -0400 Received: from imap1.codethink.co.uk ([176.9.8.82]:56402 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727805AbfJVNUC (ORCPT ); Tue, 22 Oct 2019 09:20:02 -0400 Received: from [167.98.27.226] (helo=rainbowdash.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iMu4p-00033V-3z; Tue, 22 Oct 2019 14:19:55 +0100 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.3) (envelope-from ) id 1iMu4o-0008Kk-Ke; Tue, 22 Oct 2019 14:19:54 +0100 From: "Ben Dooks (Codethink)" To: linux-kernel@lists.codethink.co.uk Cc: "Ben Dooks (Codethink)" , Jan Harkes , coda@cs.cmu.edu, codalist@coda.cs.cmu.edu, linux-kernel@vger.kernel.org Subject: [PATCH] coda: include coda_int.h for 'coda_fake_statfs' declaration Date: Tue, 22 Oct 2019 14:19:53 +0100 Message-Id: <20191022131953.31991-1-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The coda_fake_statfs is declared in coda_int.h, so include this in coda_linux.c where it is defined. This removes the following sparse warning: fs/coda/coda_linux.c:25:5: warning: symbol 'coda_fake_statfs' was not declared. Should it be static? Signed-off-by: Ben Dooks (Codethink) --- Cc: Jan Harkes Cc: coda@cs.cmu.edu Cc: codalist@coda.cs.cmu.edu Cc: linux-kernel@vger.kernel.org --- fs/coda/coda_linux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/coda/coda_linux.c b/fs/coda/coda_linux.c index 2e1a5a192074..229f7a0949ab 100644 --- a/fs/coda/coda_linux.c +++ b/fs/coda/coda_linux.c @@ -20,6 +20,7 @@ #include #include "coda_psdev.h" #include "coda_linux.h" +#include "coda_int.h" /* initialize the debugging variables */ int coda_fake_statfs; -- 2.23.0