All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <202112090657.BflsS2SD-lkp@intel.com>

diff --git a/a/1.txt b/N1/1.txt
index 1957b2c..a0b17cb 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -1,23 +1,7 @@
-CC: kbuild-all(a)lists.01.org
-In-Reply-To: <f3ea96654bb7f39afb15555dece992f2a8479608.1638879879.git.johannes.thumshirn@wdc.com>
-References: <f3ea96654bb7f39afb15555dece992f2a8479608.1638879879.git.johannes.thumshirn@wdc.com>
-TO: Johannes Thumshirn <johannes.thumshirn@wdc.com>
-
 Hi Johannes,
 
-I love your patch! Perhaps something to improve:
-
-[auto build test WARNING on kdave/for-next]
-[also build test WARNING on next-20211208]
-[cannot apply to v5.16-rc4]
-[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]
-
 url:    https://github.com/0day-ci/linux/commits/Johannes-Thumshirn/btrfs-zoned-free-zone_cache-when-freeing-zone_info/20211207-215928
 base:   https://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-next
-:::::: branch date: 32 hours ago
-:::::: commit date: 32 hours ago
 config: i386-randconfig-m021-20211207 (https://download.01.org/0day-ci/archive/20211209/202112090657.BflsS2SD-lkp(a)intel.com/config)
 compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
 
@@ -34,7 +18,6 @@ fs/btrfs/zoned.c:1452 btrfs_load_block_group_zone_info() error: uninitialized sy
 
 vim +/zone_info +597 fs/btrfs/zoned.c
 
-7365104236ade0b Naohiro Aota       2021-02-04  347  
 1c0066baa869433 Naohiro Aota       2021-11-11  348  int btrfs_get_dev_zone_info(struct btrfs_device *device, bool populate_cache)
 5b316468983dfa9 Naohiro Aota       2020-11-10  349  {
 3c9daa09ccd43f6 Johannes Thumshirn 2021-02-04  350  	struct btrfs_fs_info *fs_info = device->fs_info;
@@ -62,6 +45,8 @@ d734492a14a2da6 Naohiro Aota       2021-03-03  360  	sector_t zone_sectors;
 5b316468983dfa9 Naohiro Aota       2020-11-10  372  		return 0;
 5b316468983dfa9 Naohiro Aota       2020-11-10  373  
 5b316468983dfa9 Naohiro Aota       2020-11-10  374  	zone_info = kzalloc(sizeof(*zone_info), GFP_KERNEL);
+                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
 5b316468983dfa9 Naohiro Aota       2020-11-10  375  	if (!zone_info)
 5b316468983dfa9 Naohiro Aota       2020-11-10  376  		return -ENOMEM;
 5b316468983dfa9 Naohiro Aota       2020-11-10  377  
@@ -70,6 +55,7 @@ d734492a14a2da6 Naohiro Aota       2021-03-03  360  	sector_t zone_sectors;
 3c9daa09ccd43f6 Johannes Thumshirn 2021-02-04  380  			ret = calculate_emulated_zone_size(fs_info);
 3c9daa09ccd43f6 Johannes Thumshirn 2021-02-04  381  			if (ret)
 3c9daa09ccd43f6 Johannes Thumshirn 2021-02-04  382  				goto out;
+                                                                                ^^^^^^^^^
 3c9daa09ccd43f6 Johannes Thumshirn 2021-02-04  383  		}
 3c9daa09ccd43f6 Johannes Thumshirn 2021-02-04  384  
 3c9daa09ccd43f6 Johannes Thumshirn 2021-02-04  385  		ASSERT(fs_info->zone_size);
@@ -151,6 +137,9 @@ ea6f8ddcde63812 Naohiro Aota       2021-08-19  439
 1c0066baa869433 Naohiro Aota       2021-11-11  461  	}
 1c0066baa869433 Naohiro Aota       2021-11-11  462  
 1c0066baa869433 Naohiro Aota       2021-11-11  463  	device->zone_info = zone_info;
+                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Error paths after this point will free zone_info and the bitmaps.
+
 1c0066baa869433 Naohiro Aota       2021-11-11  464  
 5b316468983dfa9 Naohiro Aota       2020-11-10  465  	/* Get zones type */
 ea6f8ddcde63812 Naohiro Aota       2021-08-19  466  	nactive = 0;
@@ -285,8 +274,10 @@ ea6f8ddcde63812 Naohiro Aota       2021-08-19  514
 0a2a39576fa1dd6 Johannes Thumshirn 2021-12-07  595  	btrfs_destroy_dev_zone_info(device);
 5b316468983dfa9 Naohiro Aota       2020-11-10  596  
 5b316468983dfa9 Naohiro Aota       2020-11-10 @597  	return ret;
+                                                        ^^^^^^^^^^
+leaks
+
 5b316468983dfa9 Naohiro Aota       2020-11-10  598  }
-5b316468983dfa9 Naohiro Aota       2020-11-10  599  
 
 ---
 0-DAY CI Kernel Test Service, Intel Corporation
diff --git a/a/content_digest b/N1/content_digest
index 69e3e82..becfdb9 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,29 +1,14 @@
- "From\0kernel test robot <lkp@intel.com>\0"
+ "ref\0f3ea96654bb7f39afb15555dece992f2a8479608.1638879879.git.johannes.thumshirn@wdc.com\0"
+ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0"
  "Subject\0Re: [PATCH v2] btrfs: zoned: free zone_cache when freeing zone_info\0"
- "Date\0Thu, 09 Dec 2021 06:11:28 +0800\0"
- "To\0kbuild@lists.01.org\0"
+ "Date\0Fri, 10 Dec 2021 14:09:07 +0300\0"
+ "To\0kbuild-all@lists.01.org\0"
  "\01:1\0"
  "b\0"
- "CC: kbuild-all(a)lists.01.org\n"
- "In-Reply-To: <f3ea96654bb7f39afb15555dece992f2a8479608.1638879879.git.johannes.thumshirn@wdc.com>\n"
- "References: <f3ea96654bb7f39afb15555dece992f2a8479608.1638879879.git.johannes.thumshirn@wdc.com>\n"
- "TO: Johannes Thumshirn <johannes.thumshirn@wdc.com>\n"
- "\n"
  "Hi Johannes,\n"
  "\n"
- "I love your patch! Perhaps something to improve:\n"
- "\n"
- "[auto build test WARNING on kdave/for-next]\n"
- "[also build test WARNING on next-20211208]\n"
- "[cannot apply to v5.16-rc4]\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]\n"
- "\n"
  "url:    https://github.com/0day-ci/linux/commits/Johannes-Thumshirn/btrfs-zoned-free-zone_cache-when-freeing-zone_info/20211207-215928\n"
  "base:   https://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-next\n"
- ":::::: branch date: 32 hours ago\n"
- ":::::: commit date: 32 hours ago\n"
  "config: i386-randconfig-m021-20211207 (https://download.01.org/0day-ci/archive/20211209/202112090657.BflsS2SD-lkp(a)intel.com/config)\n"
  "compiler: gcc-9 (Debian 9.3.0-22) 9.3.0\n"
  "\n"
@@ -40,7 +25,6 @@
  "\n"
  "vim +/zone_info +597 fs/btrfs/zoned.c\n"
  "\n"
- "7365104236ade0b Naohiro Aota       2021-02-04  347  \n"
  "1c0066baa869433 Naohiro Aota       2021-11-11  348  int btrfs_get_dev_zone_info(struct btrfs_device *device, bool populate_cache)\n"
  "5b316468983dfa9 Naohiro Aota       2020-11-10  349  {\n"
  "3c9daa09ccd43f6 Johannes Thumshirn 2021-02-04  350  \tstruct btrfs_fs_info *fs_info = device->fs_info;\n"
@@ -68,6 +52,8 @@
  "5b316468983dfa9 Naohiro Aota       2020-11-10  372  \t\treturn 0;\n"
  "5b316468983dfa9 Naohiro Aota       2020-11-10  373  \n"
  "5b316468983dfa9 Naohiro Aota       2020-11-10  374  \tzone_info = kzalloc(sizeof(*zone_info), GFP_KERNEL);\n"
+ "                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n"
+ "\n"
  "5b316468983dfa9 Naohiro Aota       2020-11-10  375  \tif (!zone_info)\n"
  "5b316468983dfa9 Naohiro Aota       2020-11-10  376  \t\treturn -ENOMEM;\n"
  "5b316468983dfa9 Naohiro Aota       2020-11-10  377  \n"
@@ -76,6 +62,7 @@
  "3c9daa09ccd43f6 Johannes Thumshirn 2021-02-04  380  \t\t\tret = calculate_emulated_zone_size(fs_info);\n"
  "3c9daa09ccd43f6 Johannes Thumshirn 2021-02-04  381  \t\t\tif (ret)\n"
  "3c9daa09ccd43f6 Johannes Thumshirn 2021-02-04  382  \t\t\t\tgoto out;\n"
+ "                                                                                ^^^^^^^^^\n"
  "3c9daa09ccd43f6 Johannes Thumshirn 2021-02-04  383  \t\t}\n"
  "3c9daa09ccd43f6 Johannes Thumshirn 2021-02-04  384  \n"
  "3c9daa09ccd43f6 Johannes Thumshirn 2021-02-04  385  \t\tASSERT(fs_info->zone_size);\n"
@@ -157,6 +144,9 @@
  "1c0066baa869433 Naohiro Aota       2021-11-11  461  \t}\n"
  "1c0066baa869433 Naohiro Aota       2021-11-11  462  \n"
  "1c0066baa869433 Naohiro Aota       2021-11-11  463  \tdevice->zone_info = zone_info;\n"
+ "                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n"
+ "Error paths after this point will free zone_info and the bitmaps.\n"
+ "\n"
  "1c0066baa869433 Naohiro Aota       2021-11-11  464  \n"
  "5b316468983dfa9 Naohiro Aota       2020-11-10  465  \t/* Get zones type */\n"
  "ea6f8ddcde63812 Naohiro Aota       2021-08-19  466  \tnactive = 0;\n"
@@ -291,11 +281,13 @@
  "0a2a39576fa1dd6 Johannes Thumshirn 2021-12-07  595  \tbtrfs_destroy_dev_zone_info(device);\n"
  "5b316468983dfa9 Naohiro Aota       2020-11-10  596  \n"
  "5b316468983dfa9 Naohiro Aota       2020-11-10 @597  \treturn ret;\n"
+ "                                                        ^^^^^^^^^^\n"
+ "leaks\n"
+ "\n"
  "5b316468983dfa9 Naohiro Aota       2020-11-10  598  }\n"
- "5b316468983dfa9 Naohiro Aota       2020-11-10  599  \n"
  "\n"
  "---\n"
  "0-DAY CI Kernel Test Service, Intel Corporation\n"
  https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
 
-0227be1959db66b911ba0cfca91e7ee4c103edf7737fb31cb8903f2ae68851ec
+72387f6445e9801bef903cca06a8ea46bbdd8859fed449d8d0e0c6657b3ca0db

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.