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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66C08CA0EC3 for ; Tue, 12 Sep 2023 12:23:44 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 815476B00AC; Tue, 12 Sep 2023 08:23:43 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7C59E6B00DD; Tue, 12 Sep 2023 08:23:43 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 665B66B00DE; Tue, 12 Sep 2023 08:23:43 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 4EA596B00AC for ; Tue, 12 Sep 2023 08:23:43 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 08B65120246 for ; Tue, 12 Sep 2023 12:23:43 +0000 (UTC) X-FDA: 81227861526.14.F1D8523 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by imf06.hostedemail.com (Postfix) with ESMTP id EB840180020 for ; Tue, 12 Sep 2023 12:23:39 +0000 (UTC) Authentication-Results: imf06.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=npjSFNJL; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf06.hostedemail.com: domain of lkp@intel.com designates 134.134.136.31 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1694521421; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=1sqhOuT7UA2yMVLDc81UxubcdkpBsO8nnvlgF+Kzftw=; b=7fSyyWFfyAetTVLLJr3J3K8hAkwlWNOGQ8uxVQ/mHq9itGbMWqZ0zxVhmDlPLxGlCbELuj 0VfKsKjkv+fTqGpcD9KfX9QjJ0FuYvAwRqNAKyLukZ3kozHGZdP7LvatdD3l//O59GzgEx QPZi6f0pS4oixMnQchCioGunHD2YmGk= ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=npjSFNJL; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf06.hostedemail.com: domain of lkp@intel.com designates 134.134.136.31 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1694521421; a=rsa-sha256; cv=none; b=Rb91xIVADx9GecahsVA8R6auRY//r6wo2fCubX7peu8q3TH2tQMdug1UlwE+ISP6sebn07 1aE0fv/ldA+NnYDsAu/oC2U90ikH+o8gPl3q8g5s12V6Isx8PmBchuwIyQ3gC9QhN7hrx5 I30SCv+2oPhj34lWwN3C+LYHXgSW1Y0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694521419; x=1726057419; h=date:from:to:cc:subject:message-id:mime-version; bh=lvkhAfGZWBDM45VTx0se293N3QcLZ50oGAS4fiw0nUY=; b=npjSFNJLHiD1tIARhjahF0XAxMkb6A/lLlqCc3mmVRxQbYfYj+m/askI VTKDlS1J0F+o5CgojXmUYhBKLgicVYYCNfw4Q08m8q2FHmIv+RKk4XMpH VYuo89AmX8qzanvNBNxrzqicyuarWVGj7HEU6cfcMXuIWZuJWRHE498iU +EtfdQpaWGA0wBtAajAm2t3iNCPLznC+5SBdvzlCF/Lr45qavYm7ZlMhD gWf9Viz+K7YNGu+UiKXDfmNr7plA9HRPUM5Ri5Ef9Dum10VhEaT82qJjA 0OAaIoWc9kQuEb+vLQyfuaAw/e8dM609Vl+KOPM6WSEq9qrL+kXjNnMQc Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10830"; a="442372984" X-IronPort-AV: E=Sophos;i="6.02,139,1688454000"; d="scan'208";a="442372984" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Sep 2023 05:23:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10830"; a="743705755" X-IronPort-AV: E=Sophos;i="6.02,139,1688454000"; d="scan'208";a="743705755" Received: from lkp-server02.sh.intel.com (HELO 1e56c5165d33) ([10.239.97.151]) by orsmga002.jf.intel.com with ESMTP; 12 Sep 2023 05:23:36 -0700 Received: from kbuild by 1e56c5165d33 with local (Exim 4.96) (envelope-from ) id 1qg2QY-0000Lz-00; Tue, 12 Sep 2023 12:23:34 +0000 Date: Tue, 12 Sep 2023 20:23:17 +0800 From: kernel test robot To: Kent Overstreet Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List Subject: [linux-next:master 1118/4552] fs/bcachefs/bcachefs_format.h:198:25: warning: 'p' offset 3 in 'struct bkey' isn't aligned to 4 Message-ID: <202309122047.cRi9yJrq-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: EB840180020 X-Stat-Signature: 1a8so6g5z56jc9ipy6paaxum4qdf5iba X-HE-Tag: 1694521419-12340 X-HE-Meta: U2FsdGVkX18ES/mPASzts27bhMqvMRchKousgHBUPSUHiHeaMAuq49rhBPrsSFNEK6lljazInu8PP+0xqG+SamMk86v8G/BNuAQRA+n1y0qr93E2UfmJ41qUMazP7OfPqkbEl+JFNshTHex3ezAJCq2YeWpfyZ0xa0EICVmv5wLYjsngEciZo55VFG6qwLkA3cjEzGls1R19QPgDoF8oXW6davEa5JJ1wQozt3ggTe1p+Mg3ZrbqEI8Oi1ZRWxyhZUIMfMD/F+3q5RAHljjFoKU3YVtZ3BH+Alb92PHJxKEjCLqABdRx2brJYmlQ3RMHVz6cZfvFyZRBcJ6xYEcI/cbcnDSe7ezY3kGaGVMQ/09MyewlrMMy4S+4vfb9MSw51McMN209x66x54/X8lJbj/e0ARc1vQ2pV/DngOKHhQKGY7nnCfjL7PjAEQQBJSv/kQx7nQlQTpRsRs5jvR3vT59Re0QAgfOqDRnL1rEOfyZX+1psFJi/WLQxCV67i07UEVfE6zQq6cNPpFjGgPWuD3Zhsz1l7Yr6D6Oh0xuY+cUjLPFY2zdh61TVmQjGllJHmJhxy3oKyGMzG/GgnZv81joD/pc63qeU8isB+tMltZFsYsMq7yNBONaO6jU6QxB17SAyJytLLiADC+AxTErX12Z0XJASANnbuewTya98Wgoy7Djqu7IVEBIPrxmWVGo3X16uWANY98tEW1G6KsfRqOcBK9CKZelsQlooie/awVwbi0XvCDVHItHbkUmTytiZfbvFPNE8UEjJAPI7zZnnfG8QaDIfyX8Rn1+Hxnj3NwU7kr5vi8YXevw/WTITOaiqL0vAwzKxOe/ZdW926N/QonkSwIXRbVdKHpg66mcRonywIqut64qHVg3MCPjGZmVFS5rIfTXXSOVWmpbotp+YwK+nAVtHf/YuU52krIZwNdCiGfWND9097EzetyNWTY3QNRQc9gGE6glaCGD2kzW lgIg/82N 6mPsrcYErNh4LlBAZhGuX6thmp+S85WmqXvQFsNzOvxJ5sX5vD8SbNtU+oicqYiq2ECNBHF81BGvsjwpnEyAAUah7I+ReD8TtcPXLFQ12iKrF1vPsFsIiGw4UHePw+RQzGDOVkYHAbMlD+HX8wGE0cY2JGpdnxMIH1MRQfy/garg/oRaH4FD8jz+A81/9nEWiUD0zmIA/c9RakyW+u++1xau0UsU7Z9YsxLv99oX5eLSoQrxH4puJ5rmRKAhQxJ/Oj+6g6oxvQ0CzUiGKitLltP/YylwWR42NdkCXo+3e7mC29E29wsVQPVsgEOVBKK4cxZZ6+SB+kjjDzh9VTTCa5lwvCOTURZMi7Bwv X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 3c13c772fc233a10342c8e1605ff0855dfdf0c89 commit: 5ec30115c06692f17b20e4f4c7bdcd62cf96e30d [1118/4552] bcachefs: Initial commit config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20230912/202309122047.cRi9yJrq-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230912/202309122047.cRi9yJrq-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202309122047.cRi9yJrq-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from fs/bcachefs/bcachefs.h:199, from fs/bcachefs/acl.c:4: >> fs/bcachefs/bcachefs_format.h:198:25: warning: 'p' offset 3 in 'struct bkey' isn't aligned to 4 [-Wpacked-not-aligned] 198 | struct bpos p; | ^ >> fs/bcachefs/bcachefs_format.h:200:25: warning: 'version' offset 27 in 'struct bkey' isn't aligned to 4 [-Wpacked-not-aligned] 200 | struct bversion version; | ^~~~~~~ In file included from fs/bcachefs/super-io.h:5, from fs/bcachefs/checksum.h:7, from fs/bcachefs/str_hash.h:7, from fs/bcachefs/fs.h:6, from fs/bcachefs/acl.c:13: fs/bcachefs/extents.h: In function 'bch2_extent_devs': fs/bcachefs/extents.h:403:40: warning: variable '_crc' set but not used [-Wunused-but-set-variable] 403 | struct bch_extent_crc_unpacked _crc; \ | ^~~~ fs/bcachefs/extents.h:410:24: note: in expansion of macro 'extent_ptr_next' 410 | ((_ptr) = extent_ptr_next(_e, _ptr)); \ | ^~~~~~~~~~~~~~~ fs/bcachefs/extents.h:462:9: note: in expansion of macro 'extent_for_each_ptr' 462 | extent_for_each_ptr(e, ptr) | ^~~~~~~~~~~~~~~~~~~ fs/bcachefs/extents.h: In function 'bch2_extent_dirty_devs': fs/bcachefs/extents.h:403:40: warning: variable '_crc' set but not used [-Wunused-but-set-variable] 403 | struct bch_extent_crc_unpacked _crc; \ | ^~~~ fs/bcachefs/extents.h:410:24: note: in expansion of macro 'extent_ptr_next' 410 | ((_ptr) = extent_ptr_next(_e, _ptr)); \ | ^~~~~~~~~~~~~~~ fs/bcachefs/extents.h:473:9: note: in expansion of macro 'extent_for_each_ptr' 473 | extent_for_each_ptr(e, ptr) | ^~~~~~~~~~~~~~~~~~~ fs/bcachefs/extents.h: In function 'bch2_extent_cached_devs': fs/bcachefs/extents.h:403:40: warning: variable '_crc' set but not used [-Wunused-but-set-variable] 403 | struct bch_extent_crc_unpacked _crc; \ | ^~~~ fs/bcachefs/extents.h:410:24: note: in expansion of macro 'extent_ptr_next' 410 | ((_ptr) = extent_ptr_next(_e, _ptr)); \ | ^~~~~~~~~~~~~~~ fs/bcachefs/extents.h:485:9: note: in expansion of macro 'extent_for_each_ptr' 485 | extent_for_each_ptr(e, ptr) | ^~~~~~~~~~~~~~~~~~~ fs/bcachefs/checksum.h: At top level: fs/bcachefs/checksum.h:95:23: warning: 'bch2_compression_opt_to_type' defined but not used [-Wunused-const-variable=] 95 | static const unsigned bch2_compression_opt_to_type[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fs/bcachefs/bcachefs.h:201: fs/bcachefs/opts.h:194:30: warning: 'bch2_opts_default' defined but not used [-Wunused-const-variable=] 194 | static const struct bch_opts bch2_opts_default = { | ^~~~~~~~~~~~~~~~~ fs/bcachefs/opts.h:33:14: warning: 'NO_SB_OPT_MAX' defined but not used [-Wunused-const-variable=] 33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0); | ^~~~~~~~~ fs/bcachefs/bcachefs_format.h:86:25: note: in definition of macro 'LE_BITMASK' 86 | static const __u##_bits name##_MAX = (1ULL << (end - offset)) - 1; \ | ^~~~ fs/bcachefs/opts.h:33:1: note: in expansion of macro 'LE64_BITMASK' 33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0); | ^~~~~~~~~~~~ fs/bcachefs/opts.h:33:14: warning: 'NO_SB_OPT_BITS' defined but not used [-Wunused-const-variable=] 33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0); | ^~~~~~~~~ fs/bcachefs/bcachefs_format.h:85:25: note: in definition of macro 'LE_BITMASK' 85 | static const unsigned name##_BITS = (end - offset); \ | ^~~~ fs/bcachefs/opts.h:33:1: note: in expansion of macro 'LE64_BITMASK' 33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0); | ^~~~~~~~~~~~ fs/bcachefs/opts.h:33:14: warning: 'NO_SB_OPT_OFFSET' defined but not used [-Wunused-const-variable=] 33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0); | ^~~~~~~~~ fs/bcachefs/bcachefs_format.h:84:25: note: in definition of macro 'LE_BITMASK' 84 | static const unsigned name##_OFFSET = offset; \ | ^~~~ fs/bcachefs/opts.h:33:1: note: in expansion of macro 'LE64_BITMASK' 33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0); | ^~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:1482:14: warning: 'BTREE_NODE_SEQ_MAX' defined but not used [-Wunused-const-variable=] 1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64); | ^~~~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:86:25: note: in definition of macro 'LE_BITMASK' 86 | static const __u##_bits name##_MAX = (1ULL << (end - offset)) - 1; \ | ^~~~ fs/bcachefs/bcachefs_format.h:1482:1: note: in expansion of macro 'LE64_BITMASK' 1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64); | ^~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:1482:14: warning: 'BTREE_NODE_SEQ_BITS' defined but not used [-Wunused-const-variable=] 1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64); | ^~~~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:85:25: note: in definition of macro 'LE_BITMASK' 85 | static const unsigned name##_BITS = (end - offset); \ | ^~~~ fs/bcachefs/bcachefs_format.h:1482:1: note: in expansion of macro 'LE64_BITMASK' 1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64); | ^~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:1482:14: warning: 'BTREE_NODE_SEQ_OFFSET' defined but not used [-Wunused-const-variable=] 1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64); | ^~~~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:84:25: note: in definition of macro 'LE_BITMASK' 84 | static const unsigned name##_OFFSET = offset; \ | ^~~~ fs/bcachefs/bcachefs_format.h:1482:1: note: in expansion of macro 'LE64_BITMASK' 1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64); | ^~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:1480:14: warning: 'BTREE_NODE_LEVEL_MAX' defined but not used [-Wunused-const-variable=] -- In file included from fs/bcachefs/bcachefs.h:199, from fs/bcachefs/alloc.c:56: >> fs/bcachefs/bcachefs_format.h:198:25: warning: 'p' offset 3 in 'struct bkey' isn't aligned to 4 [-Wpacked-not-aligned] 198 | struct bpos p; | ^ >> fs/bcachefs/bcachefs_format.h:200:25: warning: 'version' offset 27 in 'struct bkey' isn't aligned to 4 [-Wpacked-not-aligned] 200 | struct bversion version; | ^~~~~~~ In file included from fs/bcachefs/btree_cache.h:7, from fs/bcachefs/alloc.c:58: fs/bcachefs/extents.h: In function 'bch2_extent_devs': fs/bcachefs/extents.h:403:40: warning: variable '_crc' set but not used [-Wunused-but-set-variable] 403 | struct bch_extent_crc_unpacked _crc; \ | ^~~~ fs/bcachefs/extents.h:410:24: note: in expansion of macro 'extent_ptr_next' 410 | ((_ptr) = extent_ptr_next(_e, _ptr)); \ | ^~~~~~~~~~~~~~~ fs/bcachefs/extents.h:462:9: note: in expansion of macro 'extent_for_each_ptr' 462 | extent_for_each_ptr(e, ptr) | ^~~~~~~~~~~~~~~~~~~ fs/bcachefs/extents.h: In function 'bch2_extent_dirty_devs': fs/bcachefs/extents.h:403:40: warning: variable '_crc' set but not used [-Wunused-but-set-variable] 403 | struct bch_extent_crc_unpacked _crc; \ | ^~~~ fs/bcachefs/extents.h:410:24: note: in expansion of macro 'extent_ptr_next' 410 | ((_ptr) = extent_ptr_next(_e, _ptr)); \ | ^~~~~~~~~~~~~~~ fs/bcachefs/extents.h:473:9: note: in expansion of macro 'extent_for_each_ptr' 473 | extent_for_each_ptr(e, ptr) | ^~~~~~~~~~~~~~~~~~~ fs/bcachefs/extents.h: In function 'bch2_extent_cached_devs': fs/bcachefs/extents.h:403:40: warning: variable '_crc' set but not used [-Wunused-but-set-variable] 403 | struct bch_extent_crc_unpacked _crc; \ | ^~~~ fs/bcachefs/extents.h:410:24: note: in expansion of macro 'extent_ptr_next' 410 | ((_ptr) = extent_ptr_next(_e, _ptr)); \ | ^~~~~~~~~~~~~~~ fs/bcachefs/extents.h:485:9: note: in expansion of macro 'extent_for_each_ptr' 485 | extent_for_each_ptr(e, ptr) | ^~~~~~~~~~~~~~~~~~~ In file included from fs/bcachefs/alloc.c:60: fs/bcachefs/alloc.c: In function '__bch2_alloc_write_key': fs/bcachefs/btree_update.h:72:35: error: implicit declaration of function 'COUNT_ARGS' [-Werror=implicit-function-declaration] 72 | .nr = COUNT_ARGS(__VA_ARGS__), \ | ^~~~~~~~~~ fs/bcachefs/alloc.c:332:23: note: in expansion of macro 'bch2_btree_insert_at' 332 | ret = bch2_btree_insert_at(c, NULL, NULL, journal_seq, flags, | ^~~~~~~~~~~~~~~~~~~~ In file included from fs/bcachefs/bcachefs.h:201: fs/bcachefs/opts.h: At top level: fs/bcachefs/opts.h:194:30: warning: 'bch2_opts_default' defined but not used [-Wunused-const-variable=] 194 | static const struct bch_opts bch2_opts_default = { | ^~~~~~~~~~~~~~~~~ fs/bcachefs/opts.h:33:14: warning: 'NO_SB_OPT_MAX' defined but not used [-Wunused-const-variable=] 33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0); | ^~~~~~~~~ fs/bcachefs/bcachefs_format.h:86:25: note: in definition of macro 'LE_BITMASK' 86 | static const __u##_bits name##_MAX = (1ULL << (end - offset)) - 1; \ | ^~~~ fs/bcachefs/opts.h:33:1: note: in expansion of macro 'LE64_BITMASK' 33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0); | ^~~~~~~~~~~~ fs/bcachefs/opts.h:33:14: warning: 'NO_SB_OPT_BITS' defined but not used [-Wunused-const-variable=] 33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0); | ^~~~~~~~~ fs/bcachefs/bcachefs_format.h:85:25: note: in definition of macro 'LE_BITMASK' 85 | static const unsigned name##_BITS = (end - offset); \ | ^~~~ fs/bcachefs/opts.h:33:1: note: in expansion of macro 'LE64_BITMASK' 33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0); | ^~~~~~~~~~~~ fs/bcachefs/opts.h:33:14: warning: 'NO_SB_OPT_OFFSET' defined but not used [-Wunused-const-variable=] 33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0); | ^~~~~~~~~ fs/bcachefs/bcachefs_format.h:84:25: note: in definition of macro 'LE_BITMASK' 84 | static const unsigned name##_OFFSET = offset; \ | ^~~~ fs/bcachefs/opts.h:33:1: note: in expansion of macro 'LE64_BITMASK' 33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0); | ^~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:1482:14: warning: 'BTREE_NODE_SEQ_MAX' defined but not used [-Wunused-const-variable=] 1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64); | ^~~~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:86:25: note: in definition of macro 'LE_BITMASK' 86 | static const __u##_bits name##_MAX = (1ULL << (end - offset)) - 1; \ | ^~~~ fs/bcachefs/bcachefs_format.h:1482:1: note: in expansion of macro 'LE64_BITMASK' 1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64); | ^~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:1482:14: warning: 'BTREE_NODE_SEQ_BITS' defined but not used [-Wunused-const-variable=] 1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64); | ^~~~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:85:25: note: in definition of macro 'LE_BITMASK' 85 | static const unsigned name##_BITS = (end - offset); \ | ^~~~ fs/bcachefs/bcachefs_format.h:1482:1: note: in expansion of macro 'LE64_BITMASK' 1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64); | ^~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:1482:14: warning: 'BTREE_NODE_SEQ_OFFSET' defined but not used [-Wunused-const-variable=] 1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64); | ^~~~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:84:25: note: in definition of macro 'LE_BITMASK' 84 | static const unsigned name##_OFFSET = offset; \ | ^~~~ fs/bcachefs/bcachefs_format.h:1482:1: note: in expansion of macro 'LE64_BITMASK' 1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64); -- In file included from fs/bcachefs/bcachefs.h:199, from fs/bcachefs/bkey.c:3: >> fs/bcachefs/bcachefs_format.h:198:25: warning: 'p' offset 3 in 'struct bkey' isn't aligned to 4 [-Wpacked-not-aligned] 198 | struct bpos p; | ^ >> fs/bcachefs/bcachefs_format.h:200:25: warning: 'version' offset 27 in 'struct bkey' isn't aligned to 4 [-Wpacked-not-aligned] 200 | struct bversion version; | ^~~~~~~ In file included from fs/bcachefs/bcachefs.h:201: fs/bcachefs/opts.h:194:30: warning: 'bch2_opts_default' defined but not used [-Wunused-const-variable=] 194 | static const struct bch_opts bch2_opts_default = { | ^~~~~~~~~~~~~~~~~ fs/bcachefs/opts.h:33:14: warning: 'NO_SB_OPT_MAX' defined but not used [-Wunused-const-variable=] 33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0); | ^~~~~~~~~ fs/bcachefs/bcachefs_format.h:86:25: note: in definition of macro 'LE_BITMASK' 86 | static const __u##_bits name##_MAX = (1ULL << (end - offset)) - 1; \ | ^~~~ fs/bcachefs/opts.h:33:1: note: in expansion of macro 'LE64_BITMASK' 33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0); | ^~~~~~~~~~~~ fs/bcachefs/opts.h:33:14: warning: 'NO_SB_OPT_BITS' defined but not used [-Wunused-const-variable=] 33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0); | ^~~~~~~~~ fs/bcachefs/bcachefs_format.h:85:25: note: in definition of macro 'LE_BITMASK' 85 | static const unsigned name##_BITS = (end - offset); \ | ^~~~ fs/bcachefs/opts.h:33:1: note: in expansion of macro 'LE64_BITMASK' 33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0); | ^~~~~~~~~~~~ fs/bcachefs/opts.h:33:14: warning: 'NO_SB_OPT_OFFSET' defined but not used [-Wunused-const-variable=] 33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0); | ^~~~~~~~~ fs/bcachefs/bcachefs_format.h:84:25: note: in definition of macro 'LE_BITMASK' 84 | static const unsigned name##_OFFSET = offset; \ | ^~~~ fs/bcachefs/opts.h:33:1: note: in expansion of macro 'LE64_BITMASK' 33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0); | ^~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:1482:14: warning: 'BTREE_NODE_SEQ_MAX' defined but not used [-Wunused-const-variable=] 1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64); | ^~~~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:86:25: note: in definition of macro 'LE_BITMASK' 86 | static const __u##_bits name##_MAX = (1ULL << (end - offset)) - 1; \ | ^~~~ fs/bcachefs/bcachefs_format.h:1482:1: note: in expansion of macro 'LE64_BITMASK' 1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64); | ^~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:1482:14: warning: 'BTREE_NODE_SEQ_BITS' defined but not used [-Wunused-const-variable=] 1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64); | ^~~~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:85:25: note: in definition of macro 'LE_BITMASK' 85 | static const unsigned name##_BITS = (end - offset); \ | ^~~~ fs/bcachefs/bcachefs_format.h:1482:1: note: in expansion of macro 'LE64_BITMASK' 1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64); | ^~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:1482:14: warning: 'BTREE_NODE_SEQ_OFFSET' defined but not used [-Wunused-const-variable=] 1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64); | ^~~~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:84:25: note: in definition of macro 'LE_BITMASK' 84 | static const unsigned name##_OFFSET = offset; \ | ^~~~ fs/bcachefs/bcachefs_format.h:1482:1: note: in expansion of macro 'LE64_BITMASK' 1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64); | ^~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:1480:14: warning: 'BTREE_NODE_LEVEL_MAX' defined but not used [-Wunused-const-variable=] 1480 | LE64_BITMASK(BTREE_NODE_LEVEL, struct btree_node, flags, 4, 8); | ^~~~~~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:86:25: note: in definition of macro 'LE_BITMASK' 86 | static const __u##_bits name##_MAX = (1ULL << (end - offset)) - 1; \ | ^~~~ fs/bcachefs/bcachefs_format.h:1480:1: note: in expansion of macro 'LE64_BITMASK' 1480 | LE64_BITMASK(BTREE_NODE_LEVEL, struct btree_node, flags, 4, 8); | ^~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:1480:14: warning: 'BTREE_NODE_LEVEL_BITS' defined but not used [-Wunused-const-variable=] 1480 | LE64_BITMASK(BTREE_NODE_LEVEL, struct btree_node, flags, 4, 8); | ^~~~~~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:85:25: note: in definition of macro 'LE_BITMASK' 85 | static const unsigned name##_BITS = (end - offset); \ | ^~~~ fs/bcachefs/bcachefs_format.h:1480:1: note: in expansion of macro 'LE64_BITMASK' 1480 | LE64_BITMASK(BTREE_NODE_LEVEL, struct btree_node, flags, 4, 8); | ^~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:1480:14: warning: 'BTREE_NODE_LEVEL_OFFSET' defined but not used [-Wunused-const-variable=] 1480 | LE64_BITMASK(BTREE_NODE_LEVEL, struct btree_node, flags, 4, 8); | ^~~~~~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:84:25: note: in definition of macro 'LE_BITMASK' 84 | static const unsigned name##_OFFSET = offset; \ | ^~~~ fs/bcachefs/bcachefs_format.h:1480:1: note: in expansion of macro 'LE64_BITMASK' 1480 | LE64_BITMASK(BTREE_NODE_LEVEL, struct btree_node, flags, 4, 8); | ^~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:1479:14: warning: 'BTREE_NODE_ID_MAX' defined but not used [-Wunused-const-variable=] 1479 | LE64_BITMASK(BTREE_NODE_ID, struct btree_node, flags, 0, 4); | ^~~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:86:25: note: in definition of macro 'LE_BITMASK' 86 | static const __u##_bits name##_MAX = (1ULL << (end - offset)) - 1; \ | ^~~~ fs/bcachefs/bcachefs_format.h:1479:1: note: in expansion of macro 'LE64_BITMASK' 1479 | LE64_BITMASK(BTREE_NODE_ID, struct btree_node, flags, 0, 4); | ^~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:1479:14: warning: 'BTREE_NODE_ID_BITS' defined but not used [-Wunused-const-variable=] 1479 | LE64_BITMASK(BTREE_NODE_ID, struct btree_node, flags, 0, 4); | ^~~~~~~~~~~~~ fs/bcachefs/bcachefs_format.h:85:25: note: in definition of macro 'LE_BITMASK' .. vim +198 fs/bcachefs/bcachefs_format.h 187 188 /* Type of the value */ 189 __u8 type; 190 191 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ 192 __u8 pad[1]; 193 194 struct bversion version; 195 __u32 size; /* extent size, in sectors */ 196 struct bpos p; 197 #elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ > 198 struct bpos p; 199 __u32 size; /* extent size, in sectors */ > 200 struct bversion version; 201 202 __u8 pad[1]; 203 #endif 204 } __attribute__((packed, aligned(8))); 205 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki