Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3008984rdb; Tue, 12 Sep 2023 21:31:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFI+lWOR6hYil0aJmZiZXR5jh1VCpqxRro4Bc6zyC3WZ1dFgSXM0hdQjQXfNx2DO0VEY1QV X-Received: by 2002:a05:6a20:4321:b0:14c:c986:d105 with SMTP id h33-20020a056a20432100b0014cc986d105mr1563173pzk.45.1694579515687; Tue, 12 Sep 2023 21:31:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694579515; cv=none; d=google.com; s=arc-20160816; b=gYbv9dxymCG26yF/iGxq6BoxXebkJcfcHg0MPkcPC78XK96T9EWILlrYrCk2bpx4up srviRuzicRJpyS1Pb53cElcKTCHSYR2kjkqfG+uMA08IC6SB8xIW3xmUYRr2uhlv7HrR TSUBMyrNsg9Op+GZsIen03YZr+uocQ10EkLxwb/KnvSgZ9RSXiEp5vzPPwXJhidSofNv AIZJ3UHFMdml7XXqGbcaWUnuPr+vUxD+f2wMX7s+5cOy11rRALi9h5bOp5wY2pSoWl+q xldGrKpRhS1F4s7NPT6SRVVacv1Aw6Uu17RqT2BaIDj9eeM5FoHAXMV00SwvZyzidU34 YzVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=xrN/Fe1d+j1M6kwm2pDmEH4SBm3yDJ5MzJ0db5UUdTs=; fh=4hWYXOZPVnsazVJtA2U9efwFkVrBftMezeKsFlHg7DA=; b=Ka7OiJXJ1jq1JnjwpBBPMevii+SmCwlGlO+XUty58clBkKYP8pVdg2vCfyguVFBas0 5zhp2KUyCoezZs8QjaEMWJZ9lzk3VeMcWUUUpiHdN+LSXJVMuQ0+kRyKbCExfuYuFWgZ f244VxkIXxf6DWlNC/TeSRWpkW6kPU2hfEQ63fB6yK+aneZwHnaL1VY6PJJAF68fIp2Q 1Rcb/Zma8OSq1mOsQC3ndjoLRPZok/04AUf95XYMcsxMoydlBUPVyGKTp1x/QW2y8qnI E2b1NYyzQ5UK7w7RuDTeX92wsuwTvtuJeMU8S7NSTWAcNVW8xD57PgCUPXTA6HC2BaRP 6tWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=QDNIMWqt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id jk7-20020a170903330700b001c32d285db9si9218558plb.194.2023.09.12.21.31.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 21:31:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=QDNIMWqt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 68F7A8253506; Tue, 12 Sep 2023 14:25:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234895AbjILVZJ (ORCPT + 99 others); Tue, 12 Sep 2023 17:25:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231674AbjILVZF (ORCPT ); Tue, 12 Sep 2023 17:25:05 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70ABF10CE; Tue, 12 Sep 2023 14:25:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1694553899; bh=9RBuwJ4rsGWgWemg5nbnJIHL0qtjBmuyF2BkQ8tuVuI=; h=From:Subject:Date:To:Cc:From; b=QDNIMWqtvpGfrqO41PmolBA5vd7WLu9ITjcID6QBk6dbSHXtqebYybpB+6QUDO6is jq9Tf8lnsE7hU5YPm+CKhXUK3yGHpvGrmjmuRiNt+gdApHX6cS2VVuuuvbodBnmkS4 A25vGJuevPyljxe+NDZtynkBx8+DE3EZ1gPEEVe0= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Subject: [PATCH 0/5] bcachefs: Fixes for various compiler warnings Date: Tue, 12 Sep 2023 23:24:39 +0200 Message-Id: <20230912-bcachefs-cleanup-v1-0-c1f717424e6a@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIABfXAGUC/x3MSwqAMAwA0atI1gb6QVCvIi7SmmpAamlRBPHuF pdvMfNA4SxcYGweyHxJkSNW6LYBv1FcGWWpBqOMVYM26Dz5jUNBvzPFMyHZYMkNXW+NgpqlzEH ufznN7/sBMtQ+WWIAAAA= To: Kent Overstreet , Brian Foster Cc: linux-bcachefs@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694553898; l=1408; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=9RBuwJ4rsGWgWemg5nbnJIHL0qtjBmuyF2BkQ8tuVuI=; b=fpBkoKka6ay4f301ZQylJqfzC9d0dpAaaawW8uFjbpYbmOxbH9TpWmY/J7e9BxusTD4AcMTBn 8apdKuDHj88BAw+CNd8QissWryiz+EGcbcFFuNl7geUuhLojtqu+84l X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 12 Sep 2023 14:25:11 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Some fixes for warnings found by "make W=1". Note: This was only compile-tested. Signed-off-by: Thomas Weißschuh --- Thomas Weißschuh (5): bcachefs: Delete dead code bcachefs: Mark bch2_snapshot_node_delete() static bcachefs: Delete set but not used variables bcachefs: Add printf function attributes bcachefs: Avoid unused symbol warnings from headers fs/bcachefs/alloc_foreground.c | 3 -- fs/bcachefs/backpointers.c | 3 -- fs/bcachefs/bcachefs.h | 3 +- fs/bcachefs/bcachefs_format.h | 15 +++++----- fs/bcachefs/btree_io.c | 4 +-- fs/bcachefs/btree_trans_commit.c | 4 --- fs/bcachefs/btree_types.h | 63 +++++++++++++++++++++------------------- fs/bcachefs/btree_update.c | 13 ++------- fs/bcachefs/btree_update.h | 4 ++- fs/bcachefs/compress.c | 4 --- fs/bcachefs/data_update.c | 4 --- fs/bcachefs/fs-io-pagecache.c | 7 ----- fs/bcachefs/fs-ioctl.h | 8 +++-- fs/bcachefs/opts.h | 3 +- fs/bcachefs/reflink.c | 8 ----- fs/bcachefs/snapshot.c | 2 +- 16 files changed, 58 insertions(+), 90 deletions(-) --- base-commit: e7e6c4189f70ab2d7c21eaec5b9e9c34527ef349 change-id: 20230912-bcachefs-cleanup-a3f3ab958320 Best regards, -- Thomas Weißschuh