diff for duplicates of <202509220348.96Aa4hMs-lkp@intel.com> diff --git a/a/1.txt b/N1/1.txt index 957b945..3ac3f69 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,43 +1,27 @@ -BCC: lkp@intel.com -CC: oe-kbuild-all@lists.linux.dev -In-Reply-To: <20250919071244.17020-2-richard.weiyang@gmail.com> -References: <20250919071244.17020-2-richard.weiyang@gmail.com> -TO: Wei Yang <richard.weiyang@gmail.com> - Hi Wei, kernel test robot noticed the following build warnings: -[auto build test WARNING on akpm-mm/mm-everything] -[also build test WARNING on linus/master v6.17-rc6 next-20250919] -[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/Wei-Yang/mm-ksm-get-mm_slot-by-mm_slot_entry-when-slot-is-NULL/20250919-151547 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20250919071244.17020-2-richard.weiyang%40gmail.com patch subject: [Patch v2 1/2] mm/ksm: get mm_slot by mm_slot_entry() when slot is !NULL -:::::: branch date: 3 days ago -:::::: commit date: 3 days ago config: microblaze-randconfig-r073-20250921 (https://download.01.org/0day-ci/archive/20250922/202509220348.96Aa4hMs-lkp@intel.com/config) compiler: microblaze-linux-gcc (GCC) 12.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 <error27@gmail.com> +| Reported-by: Dan Carpenter <dan.carpenter@linaro.org> | Closes: https://lore.kernel.org/r/202509220348.96Aa4hMs-lkp@intel.com/ New smatch warnings: mm/ksm.c:2959 __ksm_exit() error: uninitialized symbol 'mm_slot'. -Old smatch warnings: -arch/microblaze/include/asm/thread_info.h:85 current_thread_info() error: uninitialized symbol 'sp'. - vim +/mm_slot +2959 mm/ksm.c -f8af4da3b4c14e Hugh Dickins 2009-09-21 2921 1c2fb7a4c2ca7a Andrea Arcangeli 2009-09-21 2922 void __ksm_exit(struct mm_struct *mm) f8af4da3b4c14e Hugh Dickins 2009-09-21 2923 { 21fbd59136e077 Qi Zheng 2022-08-31 2924 struct ksm_mm_slot *mm_slot; @@ -68,6 +52,9 @@ de4014f857d062 Wei Yang 2025-09-19 2941 if (ksm_scan.mm_slot != mm_ 9ba6929480088a Hugh Dickins 2009-09-21 2949 } 9ba6929480088a Hugh Dickins 2009-09-21 2950 } de4014f857d062 Wei Yang 2025-09-19 2951 } + +mm_slot isn't initialized on the else path + cd551f97519d35 Hugh Dickins 2009-09-21 2952 spin_unlock(&ksm_mmlist_lock); cd551f97519d35 Hugh Dickins 2009-09-21 2953 9ba6929480088a Hugh Dickins 2009-09-21 2954 if (easy_to_free) { @@ -76,13 +63,15 @@ cd551f97519d35 Hugh Dickins 2009-09-21 2953 12e423ba4eaed7 Lorenzo Stoakes 2025-08-12 2957 mm_flags_clear(MMF_VM_MERGEABLE, mm); 9ba6929480088a Hugh Dickins 2009-09-21 2958 mmdrop(mm); 9ba6929480088a Hugh Dickins 2009-09-21 @2959 } else if (mm_slot) { + ^^^^^^^ +uninitialized + d8ed45c5dcd455 Michel Lespinasse 2020-06-08 2960 mmap_write_lock(mm); d8ed45c5dcd455 Michel Lespinasse 2020-06-08 2961 mmap_write_unlock(mm); 9ba6929480088a Hugh Dickins 2009-09-21 2962 } 739100c88f49a6 Stefan Roesch 2023-02-10 2963 739100c88f49a6 Stefan Roesch 2023-02-10 2964 trace_ksm_exit(mm); 31dbd01f314364 Izik Eidus 2009-09-21 2965 } -31dbd01f314364 Izik Eidus 2009-09-21 2966 -- 0-DAY CI Kernel Test Service diff --git a/a/content_digest b/N1/content_digest index 0d40042..dd21b40 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,51 +1,37 @@ - "From\0kernel test robot <lkp@intel.com>\0" + "ref\020250919071244.17020-2-richard.weiyang@gmail.com\0" + "From\0Dan Carpenter <dan.carpenter@linaro.org>\0" "Subject\0Re: [Patch v2 1/2] mm/ksm: get mm_slot by mm_slot_entry() when slot is !NULL\0" - "Date\0Mon, 22 Sep 2025 04:02:28 +0800\0" - "To\0oe-kbuild@lists.linux.dev\0" + "Date\0Mon, 22 Sep 2025 08:58:19 +0300\0" + "To\0oe-kbuild@lists.linux.dev" + " Wei Yang <richard.weiyang@gmail.com>\0" "Cc\0lkp@intel.com" - " Dan Carpenter <error27@gmail.com>\0" + " oe-kbuild-all@lists.linux.dev\0" "\00:1\0" "b\0" - "BCC: lkp@intel.com\n" - "CC: oe-kbuild-all@lists.linux.dev\n" - "In-Reply-To: <20250919071244.17020-2-richard.weiyang@gmail.com>\n" - "References: <20250919071244.17020-2-richard.weiyang@gmail.com>\n" - "TO: Wei Yang <richard.weiyang@gmail.com>\n" - "\n" "Hi Wei,\n" "\n" "kernel test robot noticed the following build warnings:\n" "\n" - "[auto build test WARNING on akpm-mm/mm-everything]\n" - "[also build test WARNING on linus/master v6.17-rc6 next-20250919]\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/Wei-Yang/mm-ksm-get-mm_slot-by-mm_slot_entry-when-slot-is-NULL/20250919-151547\n" "base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything\n" "patch link: https://lore.kernel.org/r/20250919071244.17020-2-richard.weiyang%40gmail.com\n" "patch subject: [Patch v2 1/2] mm/ksm: get mm_slot by mm_slot_entry() when slot is !NULL\n" - ":::::: branch date: 3 days ago\n" - ":::::: commit date: 3 days ago\n" "config: microblaze-randconfig-r073-20250921 (https://download.01.org/0day-ci/archive/20250922/202509220348.96Aa4hMs-lkp@intel.com/config)\n" "compiler: microblaze-linux-gcc (GCC) 12.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 <error27@gmail.com>\n" + "| Reported-by: Dan Carpenter <dan.carpenter@linaro.org>\n" "| Closes: https://lore.kernel.org/r/202509220348.96Aa4hMs-lkp@intel.com/\n" "\n" "New smatch warnings:\n" "mm/ksm.c:2959 __ksm_exit() error: uninitialized symbol 'mm_slot'.\n" "\n" - "Old smatch warnings:\n" - "arch/microblaze/include/asm/thread_info.h:85 current_thread_info() error: uninitialized symbol 'sp'.\n" - "\n" "vim +/mm_slot +2959 mm/ksm.c\n" "\n" - "f8af4da3b4c14e Hugh Dickins 2009-09-21 2921 \n" "1c2fb7a4c2ca7a Andrea Arcangeli 2009-09-21 2922 void __ksm_exit(struct mm_struct *mm)\n" "f8af4da3b4c14e Hugh Dickins 2009-09-21 2923 {\n" "21fbd59136e077 Qi Zheng 2022-08-31 2924 \tstruct ksm_mm_slot *mm_slot;\n" @@ -76,6 +62,9 @@ "9ba6929480088a Hugh Dickins 2009-09-21 2949 \t\t\t}\n" "9ba6929480088a Hugh Dickins 2009-09-21 2950 \t\t}\n" "de4014f857d062 Wei Yang 2025-09-19 2951 \t}\n" + "\n" + "mm_slot isn't initialized on the else path\n" + "\n" "cd551f97519d35 Hugh Dickins 2009-09-21 2952 \tspin_unlock(&ksm_mmlist_lock);\n" "cd551f97519d35 Hugh Dickins 2009-09-21 2953 \n" "9ba6929480088a Hugh Dickins 2009-09-21 2954 \tif (easy_to_free) {\n" @@ -84,16 +73,18 @@ "12e423ba4eaed7 Lorenzo Stoakes 2025-08-12 2957 \t\tmm_flags_clear(MMF_VM_MERGEABLE, mm);\n" "9ba6929480088a Hugh Dickins 2009-09-21 2958 \t\tmmdrop(mm);\n" "9ba6929480088a Hugh Dickins 2009-09-21 @2959 \t} else if (mm_slot) {\n" + " ^^^^^^^\n" + "uninitialized\n" + "\n" "d8ed45c5dcd455 Michel Lespinasse 2020-06-08 2960 \t\tmmap_write_lock(mm);\n" "d8ed45c5dcd455 Michel Lespinasse 2020-06-08 2961 \t\tmmap_write_unlock(mm);\n" "9ba6929480088a Hugh Dickins 2009-09-21 2962 \t}\n" "739100c88f49a6 Stefan Roesch 2023-02-10 2963 \n" "739100c88f49a6 Stefan Roesch 2023-02-10 2964 \ttrace_ksm_exit(mm);\n" "31dbd01f314364 Izik Eidus 2009-09-21 2965 }\n" - "31dbd01f314364 Izik Eidus 2009-09-21 2966 \n" "\n" "-- \n" "0-DAY CI Kernel Test Service\n" https://github.com/intel/lkp-tests/wiki -a7cff968cd26ac5f08a4fe8a547cbc02e4e4cbb87c1e023e3db2639082c1c1a8 +60ab81c6f9a23f5cab99282967459dec0f56a17dfc6bb0b8aa257bd131dc9822
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.