Hi Rafael, On 2/21/24 08:16, kernel test robot wrote:
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge branch HEAD: 18e0452b740e01daf1abb498116ad89716bfd5bc Merge branch 'acpi-scan' into bleeding-edge Warning ids grouped by kconfigs: gcc_recent_errors |-- arm64-defconfig | |-- kernel-power-energy_model.c:warning:Function-parameter-or-struct-member-nr_states-not-described-in-em_dev_compute_costs | `-- kernel-power-energy_model.c:warning:variable-nr_states-set-but-not-used |-- arm64-randconfig-001-20240221 | |-- kernel-power-energy_model.c:warning:Function-parameter-or-struct-member-nr_states-not-described-in-em_dev_compute_costs | `-- kernel-power-energy_model.c:warning:variable-nr_states-set-but-not-used |-- i386-allmodconfig | |-- kernel-power-energy_model.c:warning:Function-parameter-or-struct-member-nr_states-not-described-in-em_dev_compute_costs | `-- kernel-power-energy_model.c:warning:variable-nr_states-set-but-not-used |-- i386-allyesconfig | |-- kernel-power-energy_model.c:warning:Function-parameter-or-struct-member-nr_states-not-described-in-em_dev_compute_costs | `-- kernel-power-energy_model.c:warning:variable-nr_states-set-but-not-used |-- i386-buildonly-randconfig-006-20240221 | |-- kernel-power-energy_model.c:warning:Function-parameter-or-struct-member-nr_states-not-described-in-em_dev_compute_costs | `-- kernel-power-energy_model.c:warning:variable-nr_states-set-but-not-used |-- i386-randconfig-015-20240221 | |-- kernel-power-energy_model.c:warning:Function-parameter-or-struct-member-nr_states-not-described-in-em_dev_compute_costs | `-- kernel-power-energy_model.c:warning:variable-nr_states-set-but-not-used |-- i386-randconfig-141-20240221 | |-- kernel-power-energy_model.c:warning:Function-parameter-or-struct-member-nr_states-not-described-in-em_dev_compute_costs | `-- kernel-power-energy_model.c:warning:variable-nr_states-set-but-not-used |-- mips-allyesconfig | |-- kernel-power-energy_model.c:warning:Function-parameter-or-struct-member-nr_states-not-described-in-em_dev_compute_costs | `-- kernel-power-energy_model.c:warning:variable-nr_states-set-but-not-used |-- powerpc64-randconfig-002-20240221 | |-- kernel-power-energy_model.c:warning:Function-parameter-or-struct-member-nr_states-not-described-in-em_dev_compute_costs | `-- kernel-power-energy_model.c:warning:variable-nr_states-set-but-not-used |-- powerpc64-randconfig-003-20240221 | |-- kernel-power-energy_model.c:warning:Function-parameter-or-struct-member-nr_states-not-described-in-em_dev_compute_costs | `-- kernel-power-energy_model.c:warning:variable-nr_states-set-but-not-used |-- sparc64-randconfig-002-20240221 | |-- kernel-power-energy_model.c:warning:Function-parameter-or-struct-member-nr_states-not-described-in-em_dev_compute_costs | `-- kernel-power-energy_model.c:warning:variable-nr_states-set-but-not-used `-- x86_64-buildonly-randconfig-002-20240221 |-- kernel-power-energy_model.c:warning:Function-parameter-or-struct-member-nr_states-not-described-in-em_dev_compute_costs `-- kernel-power-energy_model.c:warning:variable-nr_states-set-but-not-used clang_recent_errors |-- i386-randconfig-014-20240221 | |-- kernel-power-energy_model.c:warning:Function-parameter-or-struct-member-nr_states-not-described-in-em_dev_compute_costs | `-- kernel-power-energy_model.c:warning:variable-nr_states-set-but-not-used |-- riscv-allmodconfig | |-- kernel-power-energy_model.c:warning:Function-parameter-or-struct-member-nr_states-not-described-in-em_dev_compute_costs | `-- kernel-power-energy_model.c:warning:variable-nr_states-set-but-not-used |-- riscv-allyesconfig | |-- kernel-power-energy_model.c:warning:Function-parameter-or-struct-member-nr_states-not-described-in-em_dev_compute_costs | `-- kernel-power-energy_model.c:warning:variable-nr_states-set-but-not-used |-- x86_64-allmodconfig | |-- kernel-power-energy_model.c:warning:Function-parameter-or-struct-member-nr_states-not-described-in-em_dev_compute_costs | `-- kernel-power-energy_model.c:warning:variable-nr_states-set-but-not-used `-- x86_64-allyesconfig |-- kernel-power-energy_model.c:warning:Function-parameter-or-struct-member-nr_states-not-described-in-em_dev_compute_costs `-- kernel-power-energy_model.c:warning:variable-nr_states-set-but-not-used elapsed time: 726m
I have figured out the 2 places which trigger this. I'm going to send a small patch to calm down those static checks. Regards, Lukasz