Re: [PATCH] ACPI: OSL: Panic when encountering a fatal ACPI error

From: kernel test robot

Date: Sat Jan 24 2026 - 04:18:20 EST


Hi Armin,

kernel test robot noticed the following build errors:

[auto build test ERROR on rafael-pm/linux-next]
[also build test ERROR on rafael-pm/bleeding-edge linus/master v6.19-rc6 next-20260123]
[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/Armin-Wolf/ACPI-OSL-Panic-when-encountering-a-fatal-ACPI-error/20260124-102043
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
patch link: https://lore.kernel.org/r/20260124021859.8337-1-W_Armin%40gmx.de
patch subject: [PATCH] ACPI: OSL: Panic when encountering a fatal ACPI error
config: loongarch-allnoconfig (https://download.01.org/0day-ci/archive/20260124/202601241717.giql6AU7-lkp@xxxxxxxxx/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9b8addffa70cee5b2acc5454712d9cf78ce45710)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260124/202601241717.giql6AU7-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601241717.giql6AU7-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/acpi/osl.c:74:30: error: use of undeclared identifier 'CONFIG_ACPI_PANIC_ON_FATAL'
74 | static bool panic_on_fatal = CONFIG_ACPI_PANIC_ON_FATAL;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.


vim +/CONFIG_ACPI_PANIC_ON_FATAL +74 drivers/acpi/osl.c

73
> 74 static bool panic_on_fatal = CONFIG_ACPI_PANIC_ON_FATAL;
75 module_param(panic_on_fatal, bool, 0);
76 MODULE_PARM_DESC(panic_on_fatal, "Trigger a kernel panic when encountering a fatal ACPI error");
77

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki