diff for duplicates of <202505100719.9pE7wDfB-lkp@intel.com> diff --git a/a/1.txt b/N1/1.txt index 7043279..b6b535f 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,10 +1,3 @@ -BCC: lkp@intel.com -CC: oe-kbuild-all@lists.linux.dev -CC: linux-kernel@vger.kernel.org -CC: x86@kernel.org -TO: Ard Biesheuvel <ardb@kernel.org> -CC: Ingo Molnar <mingo@kernel.org> - Hi Ard, FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant. @@ -12,15 +5,13 @@ FYI, the error/warning was bisected to this commit, please ignore it if it's irr tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/boot head: ed4d95d033e359f9445e85bf5a768a5859a5830b commit: ed4d95d033e359f9445e85bf5a768a5859a5830b [10/10] x86/sev: Disentangle #VC handling code from startup code -:::::: branch date: 5 days ago -:::::: commit date: 5 days ago config: x86_64-randconfig-161-20250510 (https://download.01.org/0day-ci/archive/20250510/202505100719.9pE7wDfB-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.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/202505100719.9pE7wDfB-lkp@intel.com/ smatch warnings: @@ -28,16 +19,20 @@ arch/x86/boot/compressed/sev-handle-vc.c:104 do_boot_stage2_vc() error: we previ vim +/boot_ghcb +104 arch/x86/boot/compressed/sev-handle-vc.c -ed4d95d033e359 Ard Biesheuvel 2025-05-04 95 ed4d95d033e359 Ard Biesheuvel 2025-05-04 96 void do_boot_stage2_vc(struct pt_regs *regs, unsigned long exit_code) ed4d95d033e359 Ard Biesheuvel 2025-05-04 97 { ed4d95d033e359 Ard Biesheuvel 2025-05-04 98 struct es_em_ctxt ctxt; ed4d95d033e359 Ard Biesheuvel 2025-05-04 99 enum es_result result; ed4d95d033e359 Ard Biesheuvel 2025-05-04 100 ed4d95d033e359 Ard Biesheuvel 2025-05-04 @101 if (!boot_ghcb && !early_setup_ghcb()) + ^^^^^^^^^^ +Check for NULL. Should the && be ||? + ed4d95d033e359 Ard Biesheuvel 2025-05-04 102 sev_es_terminate(SEV_TERM_SET_GEN, GHCB_SEV_ES_GEN_REQ); ed4d95d033e359 Ard Biesheuvel 2025-05-04 103 ed4d95d033e359 Ard Biesheuvel 2025-05-04 @104 vc_ghcb_invalidate(boot_ghcb); + ^^^^^^^^^ +Unchecked dereference. -- 0-DAY CI Kernel Test Service diff --git a/a/content_digest b/N1/content_digest index 4a26dd3..fb524fa 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,18 +1,15 @@ - "From\0kernel test robot <lkp@intel.com>\0" + "From\0Dan Carpenter <dan.carpenter@linaro.org>\0" "Subject\0[tip:x86/boot 10/10] arch/x86/boot/compressed/sev-handle-vc.c:104 do_boot_stage2_vc() error: we previously assumed 'boot_ghcb' could be null (see line 101)\0" - "Date\0Sat, 10 May 2025 07:50:54 +0800\0" - "To\0oe-kbuild@lists.linux.dev\0" + "Date\0Sat, 10 May 2025 10:43:44 +0300\0" + "To\0oe-kbuild@lists.linux.dev" + " Ard Biesheuvel <ardb@kernel.org>\0" "Cc\0lkp@intel.com" - " Dan Carpenter <error27@gmail.com>\0" + oe-kbuild-all@lists.linux.dev + linux-kernel@vger.kernel.org + x86@kernel.org + " Ingo Molnar <mingo@kernel.org>\0" "\00:1\0" "b\0" - "BCC: lkp@intel.com\n" - "CC: oe-kbuild-all@lists.linux.dev\n" - "CC: linux-kernel@vger.kernel.org\n" - "CC: x86@kernel.org\n" - "TO: Ard Biesheuvel <ardb@kernel.org>\n" - "CC: Ingo Molnar <mingo@kernel.org>\n" - "\n" "Hi Ard,\n" "\n" "FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.\n" @@ -20,15 +17,13 @@ "tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/boot\n" "head: ed4d95d033e359f9445e85bf5a768a5859a5830b\n" "commit: ed4d95d033e359f9445e85bf5a768a5859a5830b [10/10] x86/sev: Disentangle #VC handling code from startup code\n" - ":::::: branch date: 5 days ago\n" - ":::::: commit date: 5 days ago\n" "config: x86_64-randconfig-161-20250510 (https://download.01.org/0day-ci/archive/20250510/202505100719.9pE7wDfB-lkp@intel.com/config)\n" "compiler: gcc-12 (Debian 12.2.0-14) 12.2.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/202505100719.9pE7wDfB-lkp@intel.com/\n" "\n" "smatch warnings:\n" @@ -36,19 +31,23 @@ "\n" "vim +/boot_ghcb +104 arch/x86/boot/compressed/sev-handle-vc.c\n" "\n" - "ed4d95d033e359 Ard Biesheuvel 2025-05-04 95 \n" "ed4d95d033e359 Ard Biesheuvel 2025-05-04 96 void do_boot_stage2_vc(struct pt_regs *regs, unsigned long exit_code)\n" "ed4d95d033e359 Ard Biesheuvel 2025-05-04 97 {\n" "ed4d95d033e359 Ard Biesheuvel 2025-05-04 98 \tstruct es_em_ctxt ctxt;\n" "ed4d95d033e359 Ard Biesheuvel 2025-05-04 99 \tenum es_result result;\n" "ed4d95d033e359 Ard Biesheuvel 2025-05-04 100 \n" "ed4d95d033e359 Ard Biesheuvel 2025-05-04 @101 \tif (!boot_ghcb && !early_setup_ghcb())\n" + " ^^^^^^^^^^\n" + "Check for NULL. Should the && be ||?\n" + "\n" "ed4d95d033e359 Ard Biesheuvel 2025-05-04 102 \t\tsev_es_terminate(SEV_TERM_SET_GEN, GHCB_SEV_ES_GEN_REQ);\n" "ed4d95d033e359 Ard Biesheuvel 2025-05-04 103 \n" "ed4d95d033e359 Ard Biesheuvel 2025-05-04 @104 \tvc_ghcb_invalidate(boot_ghcb);\n" + " ^^^^^^^^^\n" + "Unchecked dereference.\n" "\n" "-- \n" "0-DAY CI Kernel Test Service\n" https://github.com/intel/lkp-tests/wiki -13b36650180b70eb3faef7deb437bcc191d56550cf4cee342a385dbf379ce7ce +3d9223d09dfbadec310778b7db0cecdf3f6381638a697048644475ce00272b32
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.