Content-Type: multipart/mixed; boundary="===============5907039744180911075==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH] ACPI / fan: Properly handle fine grain control Date: Fri, 14 Jan 2022 15:15:47 +0800 Message-ID: <202201141519.esDIoL2I-lkp@intel.com> In-Reply-To: <20220113224713.90092-1-srinivas.pandruvada@linux.intel.com> List-Id: --===============5907039744180911075== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Srinivas, I love your patch! Yet something to improve: [auto build test ERROR on rafael-pm/linux-next] [also build test ERROR on linux/master linus/master v5.16 next-20220114] [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] url: https://github.com/0day-ci/linux/commits/Srinivas-Pandruvada/ACPI-f= an-Properly-handle-fine-grain-control/20220114-064818 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git= linux-next config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220= 114/202201141519.esDIoL2I-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=3D1 build): # https://github.com/0day-ci/linux/commit/f30ef71d0435cd8735ee418ee= b0bfc71a58a4554 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Srinivas-Pandruvada/ACPI-fan-Prope= rly-handle-fine-grain-control/20220114-064818 git checkout f30ef71d0435cd8735ee418eeb0bfc71a58a4554 # save the config file to linux build tree mkdir build_dir make W=3D1 O=3Dbuild_dir ARCH=3Di386 SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): ld: drivers/acpi/fan.o: in function `fan_get_max_state': >> drivers/acpi/fan.c:100: undefined reference to `__udivdi3' ld: drivers/acpi/fan.o: in function `fan_set_state_acpi4': drivers/acpi/fan.c:222: undefined reference to `__udivdi3' ld: drivers/acpi/fan.o: in function `fan_get_state_acpi4': drivers/acpi/fan.c:160: undefined reference to `__udivdi3' vim +100 drivers/acpi/fan.c 91 = 92 /* thermal cooling device callbacks */ 93 static int fan_get_max_state(struct thermal_cooling_device *cdev, un= signed long 94 *state) 95 { 96 struct acpi_device *device =3D cdev->devdata; 97 struct acpi_fan *fan =3D acpi_driver_data(device); 98 = 99 if (fan->fif.fine_grain_ctrl) > 100 *state =3D 100 / fan->fif.step_size; 101 else if (fan->acpi4) 102 *state =3D fan->fps_count - 1; 103 else 104 *state =3D 1; 105 = 106 return 0; 107 } 108 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============5907039744180911075==--