Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1110705rwb; Thu, 6 Oct 2022 08:34:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7lqB6VI898bJr90hhVzDdcrJU2mNWsPt7GDqIUxI38PSblAPRsKNZXdgJWNQF9+s/Saw3u X-Received: by 2002:a17:90b:33cc:b0:20a:7f32:9632 with SMTP id lk12-20020a17090b33cc00b0020a7f329632mr271704pjb.149.1665070449761; Thu, 06 Oct 2022 08:34:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665070449; cv=none; d=google.com; s=arc-20160816; b=xL+bUeNzzQWmgLLNsYuAoett7TK0as+wPYUqQunF8ZKD+J9L2zA5Yv1pUnw38I+T8N +xmBTjRS+XbThjjlj3M1aIC0q/samG3uueZRF7+1whksmY7hDS0P7K1VQegKqM0wPfD7 zEIjnR+l///CnuuZfB/uj8KkePGqsWFJ9fZSZ8mupMRjAdpkvH0+9mtUbjleaiIAICx/ 4zdJhDp3fvZWbLB75Fh/Mupymo7u3jPnBUcGAvNrZeS2Gr86YVH9CtgjMUZ/0LwKLo2d I1iBmTLONYY5dFglIn+K7ajYEeVBL+A72w5x+GzE2o6SUHM6BtjUJSdFtqAxhs5Hqa4C xAPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=tVZNbjbAFyOq3f3u6PzK5DhF687jpZdTNELUXxxTZwI=; b=YrCpwkMiHiC/r8lUA0PUGh8sE8r9zt9QoggmoDhGlTJo8Cc5otiA7kTJOdhJ1o68VP JXIDEbO02EF+w16EXPCCe+f1z7EiZqBnhNSl0rZNBMY+ht9g8iweLRvUN+f60YXsTp/f bAbiFYBBw9JPPwkoQn8umc8T8CI9FcHCiYEYxDKXS76js9T5Pn964twPpdHrSq6YG9dl RDoEzkQa9/Mz9LHpjF23KOIVnD+ikBzREQoV6Jlj/nUvsJKMwhn7fGVcogEUkGtFqAyR j8vZUqjWnNueAiqfcemUd66tE2TrlU36BB6CiNwh8FZkzUi9iHObIVdRLQKMMjGyDyjO 9taQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MEYApFcs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j10-20020a65428a000000b0044b014c9a3asi14501337pgp.300.2022.10.06.08.33.55; Thu, 06 Oct 2022 08:34:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MEYApFcs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229610AbiJFPOj (ORCPT + 99 others); Thu, 6 Oct 2022 11:14:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229755AbiJFPOh (ORCPT ); Thu, 6 Oct 2022 11:14:37 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6C7FFF2 for ; Thu, 6 Oct 2022 08:14:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 995BEB820C0 for ; Thu, 6 Oct 2022 15:14:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7CAD4C433D6; Thu, 6 Oct 2022 15:14:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665069273; bh=iWa1rm6SdQ2WK8Wust6X3A7TVGiD5e+VeSaAdtLkQuw=; h=From:To:Cc:Subject:Date:From; b=MEYApFcs7c2zP6aIDq3MKt+SQH8lpFSTZ6LLi8pk5mjmYUCKDrHbW8n5txPc6acX5 oZS1LD/Ap+jhUnluF4fMv8yYgu+5uD3ZXORGDAu7WpwQusnT2qO4TzvadBkpQAis/V ecIPCWRnsGUri4dnBsubtl0eKJA3hNqki5WhXmxJ70ICvrYUEHlyazXb7HCX+J0d51 GYE6XlBSTXD5Kv4h+JGQf7XTcA+2nOgmKONnmhF7LWeZfVIfIOlzMX8Maq9dO84FiR vDz2jXtb1dRZSjl0KZiXHzMQWBs1c1S+uleAsW3020b2zbDcR0jznefmUigdrG+tUM NcV8nHgXKMvng== From: Chao Yu To: jaegeuk@kernel.org Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Chao Yu Subject: [PATCH] f2fs: fix compile warning Date: Thu, 6 Oct 2022 23:14:28 +0800 Message-Id: <20221006151428.57561-1-chao@kernel.org> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fs/f2fs/super.c:3886:6: warning: no previous prototype for 'f2fs_record_stop_reason' [-Wmissing-prototypes] Signed-off-by: Chao Yu --- fs/f2fs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index fad333881ea2..2908d41ed462 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -3884,7 +3884,7 @@ static void save_stop_reason(struct f2fs_sb_info *sbi, unsigned char reason) spin_unlock(&sbi->error_lock); } -void f2fs_record_stop_reason(struct f2fs_sb_info *sbi) +static void f2fs_record_stop_reason(struct f2fs_sb_info *sbi) { struct f2fs_super_block *raw_super = F2FS_RAW_SUPER(sbi); int err; -- 2.36.1