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=-15.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 2BF54C12002 for ; Mon, 19 Jul 2021 05:36:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0BAEB61182 for ; Mon, 19 Jul 2021 05:36:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233054AbhGSFjA (ORCPT ); Mon, 19 Jul 2021 01:39:00 -0400 Received: from mga02.intel.com ([134.134.136.20]:7698 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229577AbhGSFi7 (ORCPT ); Mon, 19 Jul 2021 01:38:59 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10049"; a="198196722" X-IronPort-AV: E=Sophos;i="5.84,251,1620716400"; d="scan'208";a="198196722" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jul 2021 22:36:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,251,1620716400"; d="scan'208";a="493875420" Received: from lkp-server01.sh.intel.com (HELO a467b34d8c10) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 18 Jul 2021 22:35:58 -0700 Received: from kbuild by a467b34d8c10 with local (Exim 4.92) (envelope-from ) id 1m5Lwc-0000ZR-94; Mon, 19 Jul 2021 05:35:58 +0000 Date: Mon, 19 Jul 2021 13:35:36 +0800 From: kernel test robot To: Allison Henderson Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Dave Chinner Subject: [RFC PATCH allisonhenderson-xfs_work] xfs: xfs_calc_namespace_reservations can be static Message-ID: <20210719053536.GA4772@67baee1309a0> References: <202107191319.2fxl9QwZ-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202107191319.2fxl9QwZ-lkp@intel.com> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fs/xfs/libxfs/xfs_trans_resv.c:854:1: warning: symbol 'xfs_calc_namespace_reservations' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- xfs_trans_resv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/xfs/libxfs/xfs_trans_resv.c b/fs/xfs/libxfs/xfs_trans_resv.c index 9cc18a9354525..f307275eb6368 100644 --- a/fs/xfs/libxfs/xfs_trans_resv.c +++ b/fs/xfs/libxfs/xfs_trans_resv.c @@ -850,7 +850,7 @@ xfs_calc_sb_reservation( * addressed later when modifications are made to ensure parent attribute * modifications can be done atomically with the rename operation. */ -void +static void xfs_calc_namespace_reservations( struct xfs_mount *mp, struct xfs_trans_resv *resp)