Hi Mario, kernel test robot noticed the following build warnings: [auto build test WARNING on linus/master] [also build test WARNING on v6.5-rc7] [cannot apply to next-20230824] [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/Mario-Limonciello/ACPI-Adjust-ifdef-for-_lps0_dev-use/20230821-113922 base: linus/master patch link: https://lore.kernel.org/r/20230818194007.27410-8-mario.limonciello%40amd.com patch subject: [PATCH v14.b 7/7] ACPI: x86: s2idle: Add a function to get constraints for a device config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20230825/202308251347.C2sdb28f-lkp@xxxxxxxxx/config) compiler: gcc-11 (Debian 11.3.0-12) 11.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230825/202308251347.C2sdb28f-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/202308251347.C2sdb28f-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> drivers/acpi/x86/s2idle.c:311: warning: Function parameter or member 'adev' not described in 'acpi_get_lps0_constraint' >> drivers/acpi/x86/s2idle.c:311: warning: Excess function parameter 'dev' description in 'acpi_get_lps0_constraint' vim +311 drivers/acpi/x86/s2idle.c 301 302 /** 303 * acpi_get_lps0_constraint - get the LPS0 constraint for a device 304 * @dev: device to get constraints for 305 * 306 * Returns: 307 * - ACPI state value for constraint. 308 * - Otherwise, ACPI_STATE_UNKNOWN. 309 */ 310 int acpi_get_lps0_constraint(struct acpi_device *adev) > 311 { 312 struct lpi_constraints *entry; 313 314 for_each_lpi_constraint(entry) { 315 if (adev->handle != entry->handle) 316 continue; 317 return entry->min_dstate; 318 } 319 320 return ACPI_STATE_UNKNOWN; 321 } 322 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki