From patchwork Tue Jan 19 12:26:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nikolay Borisov X-Patchwork-Id: 12030979 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=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,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 F247EC433E0 for ; Tue, 19 Jan 2021 22:36:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D3AA422E01 for ; Tue, 19 Jan 2021 22:36:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389640AbhASOiB (ORCPT ); Tue, 19 Jan 2021 09:38:01 -0500 Received: from mx2.suse.de ([195.135.220.15]:37142 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727326AbhASM1i (ORCPT ); Tue, 19 Jan 2021 07:27:38 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1611059212; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zJJ8UJvPDTPv+4tlliuXqfzOWxrcbZtOHaEvkNxTpmA=; b=ImSNycUp5o88MO4AXdPCtaXtBxetXK6GnKDYQcaZx5gFJD4cDKIj7H4IfnEI7e2ou7OAx+ PnN+U9Jl9SLdIzessj+1CGgdWE+QKFZSGUNvF2iPh9UIE85JH6bmHKIz127rW5V0qjUAvX CBFg2Gz/SsFdjyt2Qgmwq5dZNRwHHm4= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 24214AB9F; Tue, 19 Jan 2021 12:26:52 +0000 (UTC) From: Nikolay Borisov To: linux-btrfs@vger.kernel.org Cc: Nikolay Borisov Subject: [PATCH 00/13] Make btrfs W=1 clean Date: Tue, 19 Jan 2021 14:26:36 +0200 Message-Id: <20210119122649.187778-1-nborisov@suse.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org Hello, This patch series aims to fix all current warnings produced by compiling btrfs with W=1. My hopes are with these additions W=1 can become a default build options for btrfs. With this series applied misc-next currently produces 1 genuine warning for an unused variable: fs/btrfs/zoned.c: In function ‘btrfs_sb_log_location_bdev’: fs/btrfs/zoned.c:491:6: warning: variable ‘zone_size’ set but not used [-Wunused-but-set-variable] 491 | u64 zone_size; But I haven't fixed it since it's part of the WIP zoned support. Nikolay Borisov (13): btrfs: Document modified paramater of add_extent_mapping btrfs: Fix parameter description of btrfs_add_extent_mapping btrfs: Fix function description format btrfs: Fix paramter description in delayed-ref.c functions btrfs: Improve parameter description for __btrfs_write_out_cache btrfs: Document now parameter of peek_discard_list btrfs: Document fs_info in btrfs_rmap_block btrfs: Fix description format of fs_info parameter of btrfs_wait_on_delayed_iputs btrfs: Document btrfs_check_shared parameters btrfs: Fix parameter description of btrfs_inode_rsv_release/btrfs_delalloc_release_space btrfs: Fix parameter description in space-info.c btrfs: Fix parameter description for functions in extent_io.c lib/zstd: Convert constants to defines fs/btrfs/backref.c | 6 ++++++ fs/btrfs/block-group.c | 1 + fs/btrfs/delalloc-space.c | 7 ++++--- fs/btrfs/delayed-ref.c | 16 +++++++++------- fs/btrfs/discard.c | 1 + fs/btrfs/extent_io.c | 34 +++++++++++++++++----------------- fs/btrfs/extent_map.c | 12 +++++++----- fs/btrfs/file-item.c | 22 ++++++++++++++-------- fs/btrfs/free-space-cache.c | 10 ++++++---- fs/btrfs/inode.c | 2 +- fs/btrfs/space-info.c | 35 +++++++++++++++++------------------ include/linux/zstd.h | 8 ++++---- 12 files changed, 87 insertions(+), 67 deletions(-) --- 2.25.1