Received: by 10.192.165.148 with SMTP id m20csp1339721imm; Thu, 10 May 2018 09:10:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoqR7k9dh7azIdLcgdAoHujyixTUe+5LYwCbfR7did6+jX2r8gnr+Be5jK5aRQkLx7CI3pS X-Received: by 2002:a17:902:9004:: with SMTP id a4-v6mr1916073plp.143.1525968638197; Thu, 10 May 2018 09:10:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525968638; cv=none; d=google.com; s=arc-20160816; b=stk3AowEslByN285UfAarEGS6a5J2SQDExG4FZbJ3NUFhDNQvy7X4OUhgd9X2SJuAF w/b9MsZltP/VQIMFe4vY4JgTEl4yQnQxR5fk/CKE0Xt3VSS28LquVcwWU97fuWfS3V3P nSFZwDxcOVi2FJw2+KvR8NSylC3quaqW6zfC9uoW+0/RdMojDs6kK2cDckhqgIXZkP1p u9311Qsi74gzt/d/SykiddN2fTt9HREjZovXDyBDczEa0SAmkY0rcZF66bEOVMZUzS1D 5vW/eweaLMOQIkyLYIIo/Ga+DU73lMdW9e859fTXzdV2W/wIaBEIBM5x3JkjPqSgjYyZ 3TJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=swGOkuEb1f8MJ+zuqAg3EACzWRELVhwhCaM/YLtczkY=; b=bq6/Yy/zqqiAXmcNYJMSu+Ak57xEivZbq78Pq7aN0RmFyimkZlAqCh9DTgkfLkVign cE4qbyaVZQYHA4QbhtV3GPsxR1L89MTXc4j4S9OhuHeIvlCNhCrPCksjfJvZvShEaMpk WcOwD0ZEQ1mb2SHlONq/9BTQNivUO/suHXKz3E1CaCPZUdkvjFGmCkaEXXASp4muEW1u qo6RXrUcHlH9dzNfhGZ6aku7ngvIOsdTYsD13Y+603BciHCWDDguglMsa29NxbHq0hUn JbcdrkD/UojN2/xr2EoUBzIK9ER71JcNshPF/tEh7i8lC5PKNAp34c+dWnga223bzhu2 aMBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=pz43TLmZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y3-v6si854203pgv.504.2018.05.10.09.10.21; Thu, 10 May 2018 09:10:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=pz43TLmZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966519AbeEJQKN (ORCPT + 99 others); Thu, 10 May 2018 12:10:13 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:45536 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964877AbeEJQKL (ORCPT ); Thu, 10 May 2018 12:10:11 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w4AG6TSw141951; Thu, 10 May 2018 16:10:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : content-transfer-encoding : in-reply-to; s=corp-2017-10-26; bh=swGOkuEb1f8MJ+zuqAg3EACzWRELVhwhCaM/YLtczkY=; b=pz43TLmZkhbHEM0XGPBiMLOQBS41/lXIiMfTQlpKYrIsgF40sx7asBUNinrkzIbCHTYc aiWfXYOv72wYyPUPfswsfZRL7+bb9Ps0Jm3AtRKYsiG32cEaUKKEAopDBF38yPYMIQ/3 ty36QbUX3PwawoE7I7B1Dm+WrKnmN2JYhW5EqgeR9GmFprb46Q5s9eJZML1it3m1jVJS kze9eio39BetCmLVJROpT5VOi53hEDKGmdM9E7F7Z1OMlUqLsYvOJ87znqHCTIM2MZqO vkVAGmY7qUFyt2eAt51hmRlWZIQ6mnZYUNV8Ttd2ngq9awtvyGPy4MKE+8vZk7fAIWqL Jg== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp2120.oracle.com with ESMTP id 2hvs84018h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 10 May 2018 16:10:02 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w4AGA0tB003977 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 10 May 2018 16:10:01 GMT Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w4AGA0Ow029927; Thu, 10 May 2018 16:10:00 GMT Received: from localhost (/67.169.218.210) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 10 May 2018 09:09:59 -0700 Date: Thu, 10 May 2018 09:09:58 -0700 From: "Darrick J. Wong" To: Mathieu Malaterre Cc: tytso@mit.edu, Andreas Dilger , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ext4: make =?utf-8?Q?function_?= =?utf-8?B?4oCYZXh0NF9nZXRmc21hcF9maW5kX2ZpeGVkX21ldGFkYXRh4oCZ?= static Message-ID: <20180510160958.GB4111@magnolia> References: <20180505200452.18962-1-malat@debian.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180505200452.18962-1-malat@debian.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8888 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=2 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805100152 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 05, 2018 at 10:04:52PM +0200, Mathieu Malaterre wrote: > Since function ‘ext4_getfsmap_find_fixed_metadata’ can be made static, > make it so. Remove the following gcc warning (W=1): > > fs/ext4/fsmap.c:405:5: warning: no previous prototype for ‘ext4_getfsmap_find_fixed_metadata’ [-Wmissing-prototypes] > > Signed-off-by: Mathieu Malaterre Sorry about being late to the party, Reviewed-by: Darrick J. Wong --D > --- > fs/ext4/fsmap.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/fs/ext4/fsmap.c b/fs/ext4/fsmap.c > index e871c4bf18e9..4b99e2db95b8 100644 > --- a/fs/ext4/fsmap.c > +++ b/fs/ext4/fsmap.c > @@ -402,8 +402,8 @@ static void ext4_getfsmap_free_fixed_metadata(struct list_head *meta_list) > } > > /* Find all the fixed metadata in the filesystem. */ > -int ext4_getfsmap_find_fixed_metadata(struct super_block *sb, > - struct list_head *meta_list) > +static int ext4_getfsmap_find_fixed_metadata(struct super_block *sb, > + struct list_head *meta_list) > { > struct ext4_group_desc *gdp; > ext4_group_t agno; > -- > 2.11.0 >