diff for duplicates of <202508211534.QmDKCbTm-lkp@intel.com> diff --git a/a/1.txt b/N1/1.txt index 332ac7d..4bc0bdd 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,20 +1,35 @@ +BCC: lkp@intel.com +CC: oe-kbuild-all@lists.linux.dev +In-Reply-To: <20250819033819.19826-1-sunk67188@gmail.com> +References: <20250819033819.19826-1-sunk67188@gmail.com> +TO: Sun YangKai <sunk67188@gmail.com> +TO: linux-btrfs@vger.kernel.org +CC: Sun YangKai <sunk67188@gmail.com> + Hi Sun, kernel test robot noticed the following build warnings: +[auto build test WARNING on v6.17-rc2] +[also build test WARNING on linus/master next-20250820] +[cannot apply to kdave/for-next] +[If your patch is applied to the wrong git tree, kindly drop us a note. +And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Sun-YangKai/btrfs-more-trivial-BTRFS_PATH_AUTO_FREE-conversions/20250819-114252 base: v6.17-rc2 patch link: https://lore.kernel.org/r/20250819033819.19826-1-sunk67188%40gmail.com patch subject: [PATCH] btrfs: more trivial BTRFS_PATH_AUTO_FREE conversions +:::::: branch date: 2 days ago +:::::: commit date: 2 days ago config: parisc-randconfig-r071-20250821 (https://download.01.org/0day-ci/archive/20250821/202508211534.QmDKCbTm-lkp@intel.com/config) compiler: hppa-linux-gcc (GCC) 9.5.0 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 <lkp@intel.com> -| Reported-by: Dan Carpenter <dan.carpenter@linaro.org> +| Reported-by: Dan Carpenter <error27@gmail.com> | Closes: https://lore.kernel.org/r/202508211534.QmDKCbTm-lkp@intel.com/ smatch warnings: @@ -22,6 +37,10 @@ fs/btrfs/send.c:931 get_inode_info() warn: missing error code? 'ret' vim +/ret +931 fs/btrfs/send.c +7e93f6dc11d9128 BingJing Chang 2022-08-12 904 +31db9f7c23fbf7e Alexander Block 2012-07-25 905 /* +31db9f7c23fbf7e Alexander Block 2012-07-25 906 * Helper function to retrieve some fields from an inode item. +31db9f7c23fbf7e Alexander Block 2012-07-25 907 */ 7e93f6dc11d9128 BingJing Chang 2022-08-12 908 static int get_inode_info(struct btrfs_root *root, u64 ino, 7e93f6dc11d9128 BingJing Chang 2022-08-12 909 struct btrfs_inode_info *info) 31db9f7c23fbf7e Alexander Block 2012-07-25 910 { @@ -46,14 +65,25 @@ c8ce1e5fe626333 Sun YangKai 2025-08-19 927 return ret; 31db9f7c23fbf7e Alexander Block 2012-07-25 929 7e93f6dc11d9128 BingJing Chang 2022-08-12 930 if (!info) c8ce1e5fe626333 Sun YangKai 2025-08-19 @931 return ret; - -ret is zero, but it should be an error code. - 7e93f6dc11d9128 BingJing Chang 2022-08-12 932 31db9f7c23fbf7e Alexander Block 2012-07-25 933 ii = btrfs_item_ptr(path->nodes[0], path->slots[0], 31db9f7c23fbf7e Alexander Block 2012-07-25 934 struct btrfs_inode_item); 7e93f6dc11d9128 BingJing Chang 2022-08-12 935 info->size = btrfs_inode_size(path->nodes[0], ii); 7e93f6dc11d9128 BingJing Chang 2022-08-12 936 info->gen = btrfs_inode_generation(path->nodes[0], ii); +7e93f6dc11d9128 BingJing Chang 2022-08-12 937 info->mode = btrfs_inode_mode(path->nodes[0], ii); +7e93f6dc11d9128 BingJing Chang 2022-08-12 938 info->uid = btrfs_inode_uid(path->nodes[0], ii); +7e93f6dc11d9128 BingJing Chang 2022-08-12 939 info->gid = btrfs_inode_gid(path->nodes[0], ii); +7e93f6dc11d9128 BingJing Chang 2022-08-12 940 info->rdev = btrfs_inode_rdev(path->nodes[0], ii); +9ed0a72e5b355d4 BingJing Chang 2022-08-12 941 info->nlink = btrfs_inode_nlink(path->nodes[0], ii); +4824735918a1b7f David Sterba 2022-05-18 942 /* +4824735918a1b7f David Sterba 2022-05-18 943 * Transfer the unchanged u64 value of btrfs_inode_item::flags, that's +4824735918a1b7f David Sterba 2022-05-18 944 * otherwise logically split to 32/32 parts. +4824735918a1b7f David Sterba 2022-05-18 945 */ +7e93f6dc11d9128 BingJing Chang 2022-08-12 946 info->fileattr = btrfs_inode_flags(path->nodes[0], ii); +31db9f7c23fbf7e Alexander Block 2012-07-25 947 +3f8a18cc53bd1be Josef Bacik 2014-03-28 948 return ret; +3f8a18cc53bd1be Josef Bacik 2014-03-28 949 } +3f8a18cc53bd1be Josef Bacik 2014-03-28 950 -- 0-DAY CI Kernel Test Service diff --git a/a/content_digest b/N1/content_digest index 3388019..31d1e55 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,32 +1,43 @@ - "ref\020250819033819.19826-1-sunk67188@gmail.com\0" - "From\0Dan Carpenter <dan.carpenter@linaro.org>\0" + "From\0kernel test robot <lkp@intel.com>\0" "Subject\0Re: [PATCH] btrfs: more trivial BTRFS_PATH_AUTO_FREE conversions\0" - "Date\0Thu, 21 Aug 2025 11:21:30 +0300\0" - "To\0oe-kbuild@lists.linux.dev" - Sun YangKai <sunk67188@gmail.com> - " linux-btrfs@vger.kernel.org\0" + "Date\0Thu, 21 Aug 2025 15:58:29 +0800\0" + "To\0oe-kbuild@lists.linux.dev\0" "Cc\0lkp@intel.com" - oe-kbuild-all@lists.linux.dev - " Sun YangKai <sunk67188@gmail.com>\0" + " Dan Carpenter <error27@gmail.com>\0" "\00:1\0" "b\0" + "BCC: lkp@intel.com\n" + "CC: oe-kbuild-all@lists.linux.dev\n" + "In-Reply-To: <20250819033819.19826-1-sunk67188@gmail.com>\n" + "References: <20250819033819.19826-1-sunk67188@gmail.com>\n" + "TO: Sun YangKai <sunk67188@gmail.com>\n" + "TO: linux-btrfs@vger.kernel.org\n" + "CC: Sun YangKai <sunk67188@gmail.com>\n" + "\n" "Hi Sun,\n" "\n" "kernel test robot noticed the following build warnings:\n" "\n" + "[auto build test WARNING on v6.17-rc2]\n" + "[also build test WARNING on linus/master next-20250820]\n" + "[cannot apply to kdave/for-next]\n" + "[If your patch is applied to the wrong git tree, kindly drop us a note.\n" + "And when submitting patch, we suggest to use '--base' as documented in\n" "https://git-scm.com/docs/git-format-patch#_base_tree_information]\n" "\n" "url: https://github.com/intel-lab-lkp/linux/commits/Sun-YangKai/btrfs-more-trivial-BTRFS_PATH_AUTO_FREE-conversions/20250819-114252\n" "base: v6.17-rc2\n" "patch link: https://lore.kernel.org/r/20250819033819.19826-1-sunk67188%40gmail.com\n" "patch subject: [PATCH] btrfs: more trivial BTRFS_PATH_AUTO_FREE conversions\n" + ":::::: branch date: 2 days ago\n" + ":::::: commit date: 2 days ago\n" "config: parisc-randconfig-r071-20250821 (https://download.01.org/0day-ci/archive/20250821/202508211534.QmDKCbTm-lkp@intel.com/config)\n" "compiler: hppa-linux-gcc (GCC) 9.5.0\n" "\n" "If you fix the issue in a separate patch/commit (i.e. not just a new version of\n" "the same patch/commit), kindly add following tags\n" "| Reported-by: kernel test robot <lkp@intel.com>\n" - "| Reported-by: Dan Carpenter <dan.carpenter@linaro.org>\n" + "| Reported-by: Dan Carpenter <error27@gmail.com>\n" "| Closes: https://lore.kernel.org/r/202508211534.QmDKCbTm-lkp@intel.com/\n" "\n" "smatch warnings:\n" @@ -34,6 +45,10 @@ "\n" "vim +/ret +931 fs/btrfs/send.c\n" "\n" + "7e93f6dc11d9128 BingJing Chang 2022-08-12 904 \n" + "31db9f7c23fbf7e Alexander Block 2012-07-25 905 /*\n" + "31db9f7c23fbf7e Alexander Block 2012-07-25 906 * Helper function to retrieve some fields from an inode item.\n" + "31db9f7c23fbf7e Alexander Block 2012-07-25 907 */\n" "7e93f6dc11d9128 BingJing Chang 2022-08-12 908 static int get_inode_info(struct btrfs_root *root, u64 ino,\n" "7e93f6dc11d9128 BingJing Chang 2022-08-12 909 \t\t\t struct btrfs_inode_info *info)\n" "31db9f7c23fbf7e Alexander Block 2012-07-25 910 {\n" @@ -58,17 +73,28 @@ "31db9f7c23fbf7e Alexander Block 2012-07-25 929 \n" "7e93f6dc11d9128 BingJing Chang 2022-08-12 930 \tif (!info)\n" "c8ce1e5fe626333 Sun YangKai 2025-08-19 @931 \t\treturn ret;\n" - "\n" - "ret is zero, but it should be an error code.\n" - "\n" "7e93f6dc11d9128 BingJing Chang 2022-08-12 932 \n" "31db9f7c23fbf7e Alexander Block 2012-07-25 933 \tii = btrfs_item_ptr(path->nodes[0], path->slots[0],\n" "31db9f7c23fbf7e Alexander Block 2012-07-25 934 \t\t\tstruct btrfs_inode_item);\n" "7e93f6dc11d9128 BingJing Chang 2022-08-12 935 \tinfo->size = btrfs_inode_size(path->nodes[0], ii);\n" "7e93f6dc11d9128 BingJing Chang 2022-08-12 936 \tinfo->gen = btrfs_inode_generation(path->nodes[0], ii);\n" + "7e93f6dc11d9128 BingJing Chang 2022-08-12 937 \tinfo->mode = btrfs_inode_mode(path->nodes[0], ii);\n" + "7e93f6dc11d9128 BingJing Chang 2022-08-12 938 \tinfo->uid = btrfs_inode_uid(path->nodes[0], ii);\n" + "7e93f6dc11d9128 BingJing Chang 2022-08-12 939 \tinfo->gid = btrfs_inode_gid(path->nodes[0], ii);\n" + "7e93f6dc11d9128 BingJing Chang 2022-08-12 940 \tinfo->rdev = btrfs_inode_rdev(path->nodes[0], ii);\n" + "9ed0a72e5b355d4 BingJing Chang 2022-08-12 941 \tinfo->nlink = btrfs_inode_nlink(path->nodes[0], ii);\n" + "4824735918a1b7f David Sterba 2022-05-18 942 \t/*\n" + "4824735918a1b7f David Sterba 2022-05-18 943 \t * Transfer the unchanged u64 value of btrfs_inode_item::flags, that's\n" + "4824735918a1b7f David Sterba 2022-05-18 944 \t * otherwise logically split to 32/32 parts.\n" + "4824735918a1b7f David Sterba 2022-05-18 945 \t */\n" + "7e93f6dc11d9128 BingJing Chang 2022-08-12 946 \tinfo->fileattr = btrfs_inode_flags(path->nodes[0], ii);\n" + "31db9f7c23fbf7e Alexander Block 2012-07-25 947 \n" + "3f8a18cc53bd1be Josef Bacik 2014-03-28 948 \treturn ret;\n" + "3f8a18cc53bd1be Josef Bacik 2014-03-28 949 }\n" + "3f8a18cc53bd1be Josef Bacik 2014-03-28 950 \n" "\n" "-- \n" "0-DAY CI Kernel Test Service\n" https://github.com/intel/lkp-tests/wiki -43ae209e5094332058ef4b9024a6829eed540d0c73997d5ccedb0fbd3420b080 +5baced6462e404e8ed5164b8b6aa51c448ffe052791a2531ab61c62895c4a294
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.